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 61cf245 commit 1966dafCopy full SHA for 1966daf
contract/p/gnoswap/int256/int256.gno
@@ -31,7 +31,7 @@ func Zero() *Int {
31
32
// One returns a new Int set to 1.
33
func One() *Int {
34
- return &Int{abs: one}
+ return &Int{abs: &uint256.Uint{1, 0, 0, 0}}
35
}
36
37
// Sign returns the sign of x.
0 commit comments