Skip to content

Commit

Permalink
fix: build fail
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyhyde committed Jan 24, 2025
1 parent f80c252 commit 8f2944a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contract/r/gnoswap/router/base.gno
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (op *baseSwapOperation) handleNativeTokenWrapping(
specifiedAmount *i256.Int,
) error {
// no native token
if inputToken == consts.GNOT || outputToken == consts.GNOT {
if inputToken == consts.WUGNOT_PATH || outputToken == consts.WUGNOT_PATH {
return nil
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ func testUnstakeToken01(t *testing.T) {
t.Run("unstake token 01", func(t *testing.T) {
std.TestSetRealm(adminRealm)

UnstakeToken(1, false)
UnStakeToken(1, false)

checkGnsBalance(t, 0)
std.TestSkipHeights(1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ func testUnstakeToken02(t *testing.T) {

std.TestSetRealm(adminRealm)

UnstakeToken(2, false) // GNFT tokenId
UnStakeToken(2, false) // GNFT tokenId
std.TestSkipHeights(1)

uassert.Equal(t, gnft.MustOwnerOf(tid(2)), adminAddr)
Expand Down

0 comments on commit 8f2944a

Please sign in to comment.