Skip to content

Commit

Permalink
mobile: tiny nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Sep 24, 2020
1 parent 2ccb8a1 commit c8aa7a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile/big.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func NewBigInt(x int64) *BigInt {
// NewBigIntFromString allocates and returns a new BigInt set to x
// interpreted in the provided base.
func NewBigIntFromString(x string, base int) *BigInt {
b, success := big.NewInt(0).SetString(x, base)
b, success := new(big.Int).SetString(x, base)
if !success {
return nil
}
Expand Down

0 comments on commit c8aa7a7

Please sign in to comment.