Fixing uncaught error

This commit is contained in:
shahafn 2025-01-08 18:58:11 +02:00
parent 6c913faca6
commit d0755a687e

View file

@ -327,6 +327,9 @@ func (t *erc7562Tracer) GetResult() (json.RawMessage, error) {
}
callFrameJSON, err := json.Marshal(t.callstackWithOpcodes[0])
if err != nil {
return nil, err
}
// Unmarshal the generated JSON into a map
var resultMap map[string]interface{}