From 42fc1ec6310883f4c5ac924e96b7c8bd98eb01b9 Mon Sep 17 00:00:00 2001 From: timlucmiptev Date: Thu, 10 Dec 2020 11:14:03 +0200 Subject: [PATCH] rename --- lib/btc.hoon | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/btc.hoon b/lib/btc.hoon index 2c3310d06..9232cb684 100644 --- a/lib/btc.hoon +++ b/lib/btc.hoon @@ -73,7 +73,7 @@ *map:psbt -- ++ hdkey - |= [pubkey=bytc =target:psbt =^hdkey] + |= [pubkey=bytc =target:psbt h=^hdkey] ^- keyval:psbt =/ typ=@ux ?- target @@ -82,14 +82,14 @@ == :- (cat:byt ~[1^typ pubkey]) %- cat:byt - :~ fprint.hdkey + :~ fprint.h %- to-byts:buf - :~ `@ux`bipt.hdkey 0x0 0x0 0x80 + :~ `@ux`bipt.h 0x0 0x0 0x80 0x0 0x0 0x0 0x80 0x0 0x0 0x0 0x80 - `@ux`chyg.hdkey 0x0 0x0 0x0 + `@ux`chyg.h 0x0 0x0 0x0 == - (flip:byt [(met 3 idx.hdkey) idx.hdkey]) + (flip:byt [(met 3 idx.h) idx.h]) == :: +encode: make base64 cord of PSBT ::