btc: unconditionally re-request address-info for watched addresses

This commit is contained in:
Isaac Visintainer 2021-04-08 14:37:06 -07:00 committed by ixv
parent fbb74c5ab2
commit 2afa80a638

View File

@ -600,12 +600,9 @@
?. =(network network.w) ~
^- (unit (list card))
:- ~
%+ murn ~(tap by wach.w)
|= [a=address ad=addi]
?: %+ levy ~(tap in utxos.ad)
|=(u=utxo (gth height.u (sub block.btc-state confs.w)))
~
`(poke-provider [%address-info a])
%+ turn ~(tap by wach.w)
|= [a=address *]
(poke-provider [%address-info a])
:: +retry-txs: get info on txs without enough confirmations
::
++ retry-txs