mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-12 22:10:05 +00:00
check that header not nil
This commit is contained in:
parent
e6bd6fbfcc
commit
e22758355f
@ -87,6 +87,9 @@ func (api *TxPoolAPIImpl) Content(ctx context.Context) (map[string]map[string]ma
|
||||
}
|
||||
|
||||
curHeader := rawdb.ReadCurrentHeader(tx)
|
||||
if curHeader != nil {
|
||||
return nil, nil
|
||||
}
|
||||
// Flatten the pending transactions
|
||||
for account, txs := range pending {
|
||||
dump := make(map[string]*RPCTransaction)
|
||||
|
Loading…
Reference in New Issue
Block a user