naive: return signature for pending txs as hex-encoded string

This commit is contained in:
yosoyubik 2021-06-29 07:46:29 +02:00
parent b14b7d131e
commit c4f8d6c672

View File

@ -169,8 +169,11 @@
::
:- 'raw-tx'
%- pairs
:~ ['sig' (numb sig.raw-tx)]
['tx' (tx:to-json tx.raw-tx)]
:~ ['tx' (tx:to-json tx.raw-tx)]
::
:+ 'sig' %s
%- crip
"0x{((x-co:co (met 3 sig.raw-tx)) sig.raw-tx)}"
== ==
::
++ tx