mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 06:25:55 +00:00
check err
This commit is contained in:
parent
b2b79e9b0a
commit
4edba5df8b
@ -215,6 +215,9 @@ func (s *consensus) ValidateAndInsertBlock(block *externalapi.DomainBlock, updat
|
|||||||
|
|
||||||
for !isCompletelyResolved {
|
for !isCompletelyResolved {
|
||||||
isCompletelyResolved, err = s.resolveVirtualChunkWithLock(100)
|
isCompletelyResolved, err = s.resolveVirtualChunkWithLock(100)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user