Skip to content

Commit

Permalink
fix: correct coinname
Browse files Browse the repository at this point in the history
  • Loading branch information
izyak committed Apr 18, 2024
1 parent 4a1404e commit 328aecd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ public void tokenFallback(Address _from, BigInteger _value, byte[] _data) {

// icon bridge migration checks
requireNotEth(_coinName);
Coin coin = coinDb.get(name);
Coin coin = coinDb.get(_coinName);
require(coin.getCoinType() == NATIVE_WRAPPED_COIN_TYPE, "Cannnot transfer icon tokens anymore.");

Context.require(coinAddresses.get(_coinName) != null, "CoinNotExists");
Expand Down

0 comments on commit 328aecd

Please sign in to comment.