Skip to content

Commit

Permalink
fix(pickle): allow big.Int as value
Browse files Browse the repository at this point in the history
  • Loading branch information
ljurk committed Mar 26, 2024
1 parent 446416b commit bab4f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/pickle.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ func (p *Pickle) Handle(c io.Reader) error {
switch data[1].(type) {
case string:
value = data[1].(string)
case uint8, uint16, uint32, uint64, int8, int16, int32, int64:
case uint8, uint16, uint32, uint64, int8, int16, int32, int64, (*big.Int):
value = fmt.Sprintf("%d", data[1])
case float32, float64:
value = fmt.Sprintf("%f", data[1])
Expand Down

0 comments on commit bab4f07

Please sign in to comment.