Patch for concurrent iterator & others (onto v1.11.6) #386
@ -662,6 +662,13 @@ func (jst *Tracer) GetResult() (json.RawMessage, error) {
|
||||
case *big.Int:
|
||||
pushBigInt(val, jst.vm)
|
||||
|
||||
case int:
|
||||
jst.vm.PushInt(val)
|
||||
|
||||
case common.Hash:
|
||||
ptr := jst.vm.PushFixedBuffer(32)
|
||||
copy(makeSlice(ptr, 32), val[:])
|
||||
|
||||
default:
|
||||
panic(fmt.Sprintf("unsupported type: %T", val))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user