mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-07 11:32:20 +00:00
don't load everything on start
This commit is contained in:
parent
3c847202cd
commit
1da85f4dc9
@ -1019,7 +1019,9 @@ func (p *TxPool) fromDB(ctx context.Context, tx kv.RwTx, coreTx kv.Tx, senders *
|
||||
panic(err)
|
||||
return fmt.Errorf("err: %w, rlp: %x\n", err, v[8+8:])
|
||||
}
|
||||
txs.txs[i].rlp = nil
|
||||
txs.txs[i].senderID = binary.BigEndian.Uint64(v)
|
||||
|
||||
senderAddr, err := tx.GetOne(kv.PooledSenderIDToAdress, v[:8])
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user