Skip to content

Commit

Permalink
NetworkAddress missed - fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sagars authored and AntonAndell committed Nov 29, 2024
1 parent cdb562f commit 3155575
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ public void xTokenFallback(String _from, BigInteger _value, byte[] _data) {
if (params.get("address") != null) {
to = params.get("address").asString();
}
deposit(token, NetworkAddress.valueOf(to), _value);
deposit(token, NetworkAddress.valueOf(to, NATIVE_NID), _value);
} else {
// If no supported method was sent, revert the transaction
Context.revert(100, TAG + ": Unsupported method supplied");
Expand Down

0 comments on commit 3155575

Please sign in to comment.