mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
internal/ethapi: use model for check
This commit is contained in:
parent
eab7c9de0d
commit
76ef290edc
1 changed files with 1 additions and 1 deletions
|
|
@ -2105,7 +2105,7 @@ func (s *TransactionAPI) GetTransactionReceipt(ctx context.Context, hash common.
|
|||
"effectiveGasPrice": (*hexutil.Big)(receipt.EffectiveGasPrice),
|
||||
}
|
||||
|
||||
if fields["effectiveGasPrice"] == nil {
|
||||
if receipt.EffectiveGasPrice == nil {
|
||||
fields["effectiveGasPrice"] = new(hexutil.Big)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue