Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
elee1766 committed Sep 7, 2023
1 parent ecf5e21 commit 0fbb99e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/txn_decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ func (ctx *TxParseContext) decodeTransactionBody(dec *rlp.Decoder, parent *rlp.D
if !legacy {
typeByte := []byte{slot.Type}
if _, err := k1.Write(typeByte); err != nil {
return err
return fmt.Errorf("compute idHash: %w", err)
}
if _, err := k2.Write(typeByte); err != nil {
return err
return fmt.Errorf("compute Hash: %w", err)
}
if _, err := k1.Write(parent.Underlying()); err != nil {
return fmt.Errorf("compute idHash: %w", err)
Expand Down

0 comments on commit 0fbb99e

Please sign in to comment.