Skip to content

Commit e840469

Browse files
trianglesphereprotolambda
authored andcommitted
ethapi: Remove unnecessary cast (ethereum#20)
Was getting picked up in the new lint.
1 parent 67ce3b7 commit e840469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/ethapi/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ func newRPCTransaction(tx *types.Transaction, blockHash common.Hash, blockNumber
12831283
To: tx.To(),
12841284
Value: (*hexutil.Big)(tx.Value()),
12851285
Mint: (*hexutil.Big)(tx.Mint()),
1286-
SourceHash: (*common.Hash)(&srcHash),
1286+
SourceHash: &srcHash,
12871287
}
12881288
if blockHash != (common.Hash{}) {
12891289
result.BlockHash = &blockHash

0 commit comments

Comments
 (0)