roller: retrieve latest (current+pending) nonce

This commit is contained in:
yosoyubik 2021-09-29 14:38:20 +02:00
parent f243500068
commit 37aee72f55

View File

@ -269,8 +269,13 @@
!> ^- (unit @) !> ^- (unit @)
?~ point=(get:orm:naive points.pre u.who) ?~ point=(get:orm:naive points.pre u.who)
~ ~
=< `nonce =/ nonce=@
(proxy-from-point:naive proxy u.point) =< nonce
(proxy-from-point:naive proxy u.point)
%- some
%+ roll pending
|= [pend-tx nonce=_nonce]
?:(=([u.who proxy] from.tx.raw-tx) +(nonce) nonce)
:: ::
++ spawned ++ spawned
|= wat=@t |= wat=@t