mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
9f85f2f31f
commit
f23ec4ab9e
|
@ -287,8 +287,8 @@ updateState = do
|
|||
Right txs -> do
|
||||
-- FIXME: skip-already-processed-blocks
|
||||
for_ txs $ \htx -> void $ runMaybeT do
|
||||
done <- liftIO $ withDB db (isTxProcessed (HashVal htx))
|
||||
guard (not done)
|
||||
-- done <- liftIO $ withDB db (isTxProcessed (HashVal htx))
|
||||
-- guard (not done)
|
||||
getBlock sto (fromHashRef htx)
|
||||
>>= toMPlus
|
||||
<&> deserialiseOrFail @(RefChanUpdate L4Proto)
|
||||
|
|
Loading…
Reference in New Issue