cmd/evm: handle rlp errors in t9n (#23771)
* cmd/evm: handle rlp errors in t9n * cmd/evm/testdata: fix readme
This commit is contained in:
committed by
GitHub
parent
eab4d898fd
commit
52c02ccb1f
@ -121,6 +121,9 @@ func Transaction(ctx *cli.Context) error {
|
||||
}
|
||||
var results []result
|
||||
for it.Next() {
|
||||
if err := it.Err(); err != nil {
|
||||
return NewError(ErrorIO, err)
|
||||
}
|
||||
var tx types.Transaction
|
||||
err := rlp.DecodeBytes(it.Value(), &tx)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user