Closed arnaubennassar closed 2 years ago
Calling json.Unmarshal(data, &transaction) where transaction is type apitypes.L2Tx causes panic. This is because of this https://github.com/hermeznetwork/hermez-node/blob/develop/common/apitypes/txl2.go#L145
json.Unmarshal(data, &transaction)
apitypes.L2Tx
Summary of Bug
Calling
json.Unmarshal(data, &transaction)
where transaction is typeapitypes.L2Tx
causes panic. This is because of this https://github.com/hermeznetwork/hermez-node/blob/develop/common/apitypes/txl2.go#L145