mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 06:25:55 +00:00
nil changeset is not expected when err=nil
This commit is contained in:
parent
92e0051b3b
commit
52e5aa9fab
@ -88,7 +88,7 @@ func (csm *consensusStateManager) ResolveVirtual(maxBlocksToResolve uint64) (*ex
|
|||||||
|
|
||||||
if selectedTip == nil {
|
if selectedTip == nil {
|
||||||
log.Warnf("Non of the DAG tips are valid")
|
log.Warnf("Non of the DAG tips are valid")
|
||||||
return nil, true, nil
|
return &externalapi.VirtualChangeSet{}, true, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
oldVirtualGHOSTDAGData, err := csm.ghostdagDataStore.Get(csm.databaseContext, readStagingArea, model.VirtualBlockHash, false)
|
oldVirtualGHOSTDAGData, err := csm.ghostdagDataStore.Get(csm.databaseContext, readStagingArea, model.VirtualBlockHash, false)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user