mirror of
https://github.com/urbit/shrub.git
synced 2024-12-21 01:41:37 +03:00
naive: listen to %resend timer
This commit is contained in:
parent
ca2b626c4e
commit
b9c5d9e2e6
@ -211,8 +211,18 @@
|
||||
++ on-arvo
|
||||
|= [=wire =sign-arvo]
|
||||
^- (quip card _this)
|
||||
?+ +<.sign-arvo (on-arvo:def wire sign-arvo)
|
||||
%wake =^(cards state on-timer:do [cards this])
|
||||
?+ wire (on-arvo:def wire sign-arvo)
|
||||
[%timer ~]
|
||||
?+ +<.sign-arvo (on-arvo:def wire sign-arvo)
|
||||
%wake =^(cards state on-timer:do [cards this])
|
||||
==
|
||||
::
|
||||
[%resend @ @ ~]
|
||||
=/ [address=@ux nonce=@ud]
|
||||
[(slav %ux i.t.wire) (rash i.t.t.wire dem)]
|
||||
?+ +<.sign-arvo (on-arvo:def wire sign-arvo)
|
||||
%wake [(send-roll:do address nonce) this]
|
||||
==
|
||||
==
|
||||
::
|
||||
++ on-fail
|
||||
|
Loading…
Reference in New Issue
Block a user