Skip to content

Commit 1966daf

Browse files
committed
fix
1 parent 61cf245 commit 1966daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contract/p/gnoswap/int256/int256.gno

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func Zero() *Int {
3131

3232
// One returns a new Int set to 1.
3333
func One() *Int {
34-
return &Int{abs: one}
34+
return &Int{abs: &uint256.Uint{1, 0, 0, 0}}
3535
}
3636

3737
// Sign returns the sign of x.

0 commit comments

Comments
 (0)