mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
fix: fix (r *Receipt) decodeTyped (#617)
This commit is contained in:
parent
713fc8c254
commit
14d8266fc2
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ func (r *Receipt) decodeTyped(b []byte) error {
|
||||||
return errShortTypedReceipt
|
return errShortTypedReceipt
|
||||||
}
|
}
|
||||||
switch b[0] {
|
switch b[0] {
|
||||||
case DynamicFeeTxType, AccessListTxType, BlobTxType:
|
case DynamicFeeTxType, AccessListTxType, BlobTxType, L1MessageTxType:
|
||||||
var data receiptRLP
|
var data receiptRLP
|
||||||
err := rlp.DecodeBytes(b[1:], &data)
|
err := rlp.DecodeBytes(b[1:], &data)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue