mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
609551b43e
commit
66d7444198
|
@ -364,6 +364,8 @@ refChanUpdateProto self pc adapter msg = do
|
|||
|
||||
let h0 = hashObject @HbSync (serialise msg)
|
||||
|
||||
guard =<< liftIO (hasBlock sto h0 <&> isJust)
|
||||
|
||||
debug $ "RefChanUpdate/ACCEPT" <+> pretty h0
|
||||
|
||||
(peerKey, AcceptTran headRef hashRef) <- MaybeT $ pure $ unboxSignedBox0 box
|
||||
|
|
Loading…
Reference in New Issue