Skip to content

Commit

Permalink
ethapi: Remove unnecessary cast (ethereum#20)
Browse files Browse the repository at this point in the history
Was getting picked up in the new lint.
  • Loading branch information
trianglesphere authored and protolambda committed Sep 6, 2022
1 parent 67ce3b7 commit e840469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ethapi/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ func newRPCTransaction(tx *types.Transaction, blockHash common.Hash, blockNumber
To: tx.To(),
Value: (*hexutil.Big)(tx.Value()),
Mint: (*hexutil.Big)(tx.Mint()),
SourceHash: (*common.Hash)(&srcHash),
SourceHash: &srcHash,
}
if blockHash != (common.Hash{}) {
result.BlockHash = &blockHash
Expand Down

0 comments on commit e840469

Please sign in to comment.