mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 08:32:39 +03:00
naive: add parse raw tx in aggregator submit action
This commit is contained in:
parent
766e2ab610
commit
001d58e539
@ -275,8 +275,14 @@
|
||||
++ part-tx-to-full
|
||||
|= =part-tx
|
||||
^- [octs tx:naive]
|
||||
?+ -.part-tx !!
|
||||
:: %raw [+.part-tx (decode-tx:naive +.part-tx)]
|
||||
?+ -.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