mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-01 03:22:39 +03:00
roller: don't crash if nonce not in queue
This commit is contained in:
parent
463ca6e8db
commit
ae05bbf571
@ -1137,6 +1137,12 @@
|
||||
:: print error if there was one
|
||||
::
|
||||
~? ?=(%| -.result) [dap.bowl %send-error +.p.result]
|
||||
:: if this nonce was removed from the queue by a
|
||||
:: previous resend-with-higher-gas thread, it's done
|
||||
::
|
||||
?. (has:ors:dice sending [address nonce])
|
||||
~? lverb [dap.bowl %done-sending [address nonce]]
|
||||
`state
|
||||
=/ =send-tx (got:ors:dice sending [address nonce])
|
||||
=? sending ?=(%& -.result)
|
||||
%^ put:ors:dice sending
|
||||
|
Loading…
Reference in New Issue
Block a user