Skip to content

Commit b583daa

Browse files
authored
examples: fix renaming to BASE_ASSET_ID in comment (#2120)
1 parent b5fe780 commit b583daa

File tree

1 file changed

+1
-1
lines changed
  • examples/wallet_smart_contract/src

1 file changed

+1
-1
lines changed

examples/wallet_smart_contract/src/main.sw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ abi Wallet {
2727
impl Wallet for Contract {
2828
#[storage(read, write)]fn receive_funds() {
2929
if msg_asset_id() == ~ContractId::from(BASE_ASSET_ID) {
30-
// If we received `NATIVE_ASSET_ID` then keep track of the balance.
30+
// If we received `BASE_ASSET_ID` then keep track of the balance.
3131
// Otherwise, we're receiving other native assets and don't care
3232
// about our balance of tokens.
3333
storage.balance = storage.balance + msg_amount();

0 commit comments

Comments
 (0)