From 37aee72f5544f467387df1c557caee28a57ea0fd Mon Sep 17 00:00:00 2001 From: yosoyubik Date: Wed, 29 Sep 2021 14:38:20 +0200 Subject: [PATCH] roller: retrieve latest (current+pending) nonce --- pkg/arvo/app/roller.hoon | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkg/arvo/app/roller.hoon b/pkg/arvo/app/roller.hoon index 068a9bef8..e4687ff42 100644 --- a/pkg/arvo/app/roller.hoon +++ b/pkg/arvo/app/roller.hoon @@ -269,8 +269,13 @@ !> ^- (unit @) ?~ point=(get:orm:naive points.pre u.who) ~ - =< `nonce - (proxy-from-point:naive proxy u.point) + =/ nonce=@ + =< 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 |= wat=@t