We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5fe780 commit b583daaCopy full SHA for b583daa
examples/wallet_smart_contract/src/main.sw
@@ -27,7 +27,7 @@ abi Wallet {
27
impl Wallet for Contract {
28
#[storage(read, write)]fn receive_funds() {
29
if msg_asset_id() == ~ContractId::from(BASE_ASSET_ID) {
30
- // If we received `NATIVE_ASSET_ID` then keep track of the balance.
+ // If we received `BASE_ASSET_ID` then keep track of the balance.
31
// Otherwise, we're receiving other native assets and don't care
32
// about our balance of tokens.
33
storage.balance = storage.balance + msg_amount();
0 commit comments