mirror of https://github.com/voidlizard/hbs2
wip, debug
This commit is contained in:
parent
d7a4d5cdf2
commit
3c46a14aa5
|
@ -301,6 +301,10 @@ refChanUpdateProto self pc adapter msg = do
|
|||
|
||||
let h0 = hashObject @HbSync (serialise msg)
|
||||
|
||||
done <- liftIO (hasBlock sto h0) <&> isJust
|
||||
|
||||
guard (not done)
|
||||
|
||||
debug $ "RefChanUpdate/Propose" <+> pretty h0
|
||||
|
||||
deferred proto do
|
||||
|
|
Loading…
Reference in New Issue