File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ func NewHeader(b *types.Block) *Header {
172172 WithdrawalsHash : b .Header ().WithdrawalsHash ,
173173 Size : b .Header ().Size (),
174174 // TotalDifficulty: b.Difficulty(),
175- TransactionsHash : TransactionsHash (* b ),
175+ TransactionsHash : TransactionsHash (b ),
176176 }
177177}
178178
@@ -188,7 +188,7 @@ func (h *Header) String() string {
188188}
189189
190190// TransactionsHash returns a list of transaction hash starting from a list of transactions contained in a block.
191- func TransactionsHash (block types.Block ) []common.Hash {
191+ func TransactionsHash (block * types.Block ) []common.Hash {
192192 txsh := make ([]common.Hash , len (block .Transactions ()))
193193
194194 for i , tx := range block .Transactions () {
You can’t perform that action at this time.
0 commit comments