internal/ethapi: return vmError()
This commit is contained in:
committed by
Péter Szilágyi
parent
fbdc6bba66
commit
9f8a0b597e
@ -868,7 +868,7 @@ func DoCall(ctx context.Context, b Backend, args CallArgs, blockNrOrHash rpc.Blo
|
|||||||
return nil, fmt.Errorf("execution reverted: %v", reason)
|
return nil, fmt.Errorf("execution reverted: %v", reason)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result, result.Err
|
return result, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Call executes the given transaction on the state for the given block number.
|
// Call executes the given transaction on the state for the given block number.
|
||||||
|
Reference in New Issue
Block a user