From e6d7acc1146cdc0d93b1f716bcf6796b9e8f121b Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 19 Dec 2023 16:41:02 +0100 Subject: [PATCH] global XPub: remove keydata len --- psetv2/global.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/psetv2/global.go b/psetv2/global.go index d183ccc..30b6ab9 100644 --- a/psetv2/global.go +++ b/psetv2/global.go @@ -297,7 +297,7 @@ func (g *Global) deserialize(buf *bytes.Buffer) error { } g.Xpubs = append(g.Xpubs, Xpub{ - ExtendedKey: kp.Key.KeyData, + ExtendedKey: kp.Key.KeyData[1:], MasterFingerprint: master, DerivationPath: derivationPath, })