Skip to content

Commit 8f2d718

Browse files
authored
code-quality: return nil instead of nil err (#589)
Signed-off-by: laterlaugh <[email protected]>
1 parent 4f7a62e commit 8f2d718

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chain/vendored/apply_transaction.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,5 @@ func EVMApplyTransaction(msg *Message, config *params.ChainConfig, testChainConf
9999
receipt.BlockHash = blockHash
100100
receipt.BlockNumber = blockNumber
101101
receipt.TransactionIndex = uint(statedb.TxIndex())
102-
return receipt, result, err
102+
return receipt, result, nil
103103
}

0 commit comments

Comments
 (0)