Skip to content

Commit

Permalink
Fix txpool_content for pending blob tx (#9668)
Browse files Browse the repository at this point in the history
  • Loading branch information
somnathb1 authored Mar 11, 2024
1 parent 4d771dc commit 1a54eca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions turbo/jsonrpc/eth_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ func NewRPCTransaction(tx types.Transaction, blockHash common.Hash, blockNumber
To: tx.GetTo(),
Value: (*hexutil.Big)(tx.GetValue().ToBig()),
}
if t, ok := tx.(*types.BlobTxWrapper); ok {
tx = &t.Tx
}
switch t := tx.(type) {
case *types.LegacyTx:
chainId = types.DeriveChainId(&t.V)
Expand Down

0 comments on commit 1a54eca

Please sign in to comment.