mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 22:01:46 +03:00
naive: add parse raw tx in aggregator submit action
This commit is contained in:
parent
766e2ab610
commit
001d58e539
@ -276,7 +276,13 @@
|
||||
|= =part-tx
|
||||
^- [octs tx:naive]
|
||||
?+ -.part-tx !!
|
||||
:: %raw [+.part-tx (decode-tx:naive +.part-tx)]
|
||||
%raw
|
||||
?~ batch=(parse-raw-tx:naive q.raw.part-tx)
|
||||
~& %parse-failed
|
||||
:: TODO: maybe return a unit if parsing fails?
|
||||
::
|
||||
!!
|
||||
[raw tx]:-.u.batch
|
||||
:: %don [(encode-tx:naive +.part-tx) +.part-tx]
|
||||
%ful +.part-tx
|
||||
==
|
||||
|
Loading…
Reference in New Issue
Block a user