mirror of https://github.com/voidlizard/hbs2
wip, debug
This commit is contained in:
parent
73d0fc6162
commit
a1f16efec3
|
@ -380,6 +380,9 @@ refChanUpdateProto self pc adapter msg = do
|
||||||
|
|
||||||
lift $ gossip msg
|
lift $ gossip msg
|
||||||
|
|
||||||
|
-- тут может так случиться, что propose еще нет
|
||||||
|
-- UDP вообще не гарантирует порядок доставки, а отправляем мы транзы
|
||||||
|
-- почти одновременно. ну или не успело записаться. и что делать?
|
||||||
tranBs <- MaybeT $ liftIO $ getBlock sto (fromHashRef hashRef)
|
tranBs <- MaybeT $ liftIO $ getBlock sto (fromHashRef hashRef)
|
||||||
|
|
||||||
tran <- MaybeT $ pure $ deserialiseOrFail @(RefChanUpdate e) tranBs & either (const Nothing) Just
|
tran <- MaybeT $ pure $ deserialiseOrFail @(RefChanUpdate e) tranBs & either (const Nothing) Just
|
||||||
|
|
Loading…
Reference in New Issue