Skip to content

Commit 416c76a

Browse files
authored
Update conversion.go
1 parent 0ef04d8 commit 416c76a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func FromBig(b *big.Int) (*Int, bool) {
7070
// Returns a new Int and panics if overflow occurred.
7171
func MustFromBig(b *big.Int) *Int {
7272
z := &Int{}
73-
if overflow := z.SetFromBig(b); overflow {
73+
if z.SetFromBig(b) {
7474
panic("overflow")
7575
}
7676
return z

0 commit comments

Comments
 (0)