mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-12 15:01:38 +03:00
PSBT is in correct format
This commit is contained in:
parent
1bf0add6ce
commit
01cb50c73b
@ -139,8 +139,9 @@
|
||||
++ encode
|
||||
|= [=rawtx =txid inputs=(list in:psbt) outputs=(list out:psbt)]
|
||||
^- base64:psbt
|
||||
=/ sep=(unit bytc) `1^0x0
|
||||
=/ final=(list (unit bytc))
|
||||
%+ join `(unit bytc)`[~ 1^0x0]
|
||||
%+ join sep
|
||||
%+ turn
|
||||
%- zing
|
||||
:~ ~[(globals:en rawtx)]
|
||||
@ -151,7 +152,7 @@
|
||||
%- base64:en
|
||||
%- cat:byt
|
||||
%+ weld ~[[5 0x70.7362.74ff]]
|
||||
(murn final same)
|
||||
(murn (snoc final sep) same)
|
||||
::
|
||||
++ parse
|
||||
|= psbt-base64=cord
|
||||
|
Loading…
Reference in New Issue
Block a user