mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-22 15:59:26 +00:00
internal/ethapi: return vmError()
This commit is contained in:
parent
fbdc6bba66
commit
9f8a0b597e
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue