mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 14:35:53 +00:00
logger to tracef
This commit is contained in:
parent
600f39ffc6
commit
8bacd2e7bf
@ -49,7 +49,7 @@ func (ti *TXIndex) Reset() error {
|
|||||||
ti.mutex.Lock()
|
ti.mutex.Lock()
|
||||||
defer ti.mutex.Unlock()
|
defer ti.mutex.Unlock()
|
||||||
|
|
||||||
log.Info("Reseting TX Index")
|
log.Tracef("Reseting TX Index")
|
||||||
|
|
||||||
err := ti.store.deleteAll()
|
err := ti.store.deleteAll()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -142,7 +142,7 @@ func (ti *TXIndex) Update(virtualChangeSet *externalapi.VirtualChangeSet) (*TXAc
|
|||||||
ti.mutex.Lock()
|
ti.mutex.Lock()
|
||||||
defer ti.mutex.Unlock()
|
defer ti.mutex.Unlock()
|
||||||
|
|
||||||
log.Info("Updating TX index with VirtualSelectedParentChainChanges: %+v", virtualChangeSet.VirtualSelectedParentChainChanges)
|
log.Tracef("Updating TX index with VirtualSelectedParentChainChanges: %+v", virtualChangeSet.VirtualSelectedParentChainChanges)
|
||||||
|
|
||||||
err := ti.removeTXIDs(virtualChangeSet.VirtualSelectedParentChainChanges, 1000)
|
err := ti.removeTXIDs(virtualChangeSet.VirtualSelectedParentChainChanges, 1000)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user