forked from TrueCloudLab/neoneo-go
state: prime token transfer info with the demand for new logs
Setting NewNEPXXBatch avoids the need to get them from the database which is useful for newly tracked accounts.
This commit is contained in:
parent
095ed3f64e
commit
7f40a0cfd8
1 changed files with 3 additions and 1 deletions
|
@ -62,7 +62,9 @@ type TokenTransferInfo struct {
|
||||||
// NewTokenTransferInfo returns new TokenTransferInfo.
|
// NewTokenTransferInfo returns new TokenTransferInfo.
|
||||||
func NewTokenTransferInfo() *TokenTransferInfo {
|
func NewTokenTransferInfo() *TokenTransferInfo {
|
||||||
return &TokenTransferInfo{
|
return &TokenTransferInfo{
|
||||||
LastUpdated: make(map[int32]uint32),
|
NewNEP11Batch: true,
|
||||||
|
NewNEP17Batch: true,
|
||||||
|
LastUpdated: make(map[int32]uint32),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue