don't load everything on start

This commit is contained in:
alex.sharov 2021-08-26 15:52:38 +07:00
parent 22d71095f6
commit f20c95e799

View File

@ -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
} }