mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-24 14:35:53 +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 {
|
||||
isCompletelyResolved, err = s.resolveVirtualChunkWithLock(100)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user