mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 12:01:20 +00:00
don't load everything on start
This commit is contained in:
parent
22d71095f6
commit
f20c95e799
@ -195,7 +195,6 @@ func (sc *SendersCache) info(id uint64, tx kv.Tx) (*senderInfo, error) {
|
|||||||
balance := uint256.NewInt(0)
|
balance := uint256.NewInt(0)
|
||||||
balance.SetBytes(v[8:])
|
balance.SetBytes(v[8:])
|
||||||
info = newSenderInfo(binary.BigEndian.Uint64(v), *balance)
|
info = newSenderInfo(binary.BigEndian.Uint64(v), *balance)
|
||||||
sc.senderInfo[id] = info
|
|
||||||
}
|
}
|
||||||
return info, nil
|
return info, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user