We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ef04d8 commit 416c76aCopy full SHA for 416c76a
conversion.go
@@ -70,7 +70,7 @@ func FromBig(b *big.Int) (*Int, bool) {
70
// Returns a new Int and panics if overflow occurred.
71
func MustFromBig(b *big.Int) *Int {
72
z := &Int{}
73
- if overflow := z.SetFromBig(b); overflow {
+ if z.SetFromBig(b) {
74
panic("overflow")
75
}
76
return z
0 commit comments