From 629d381c3ea31056ee4354dabafeae0c850c7235 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Mon, 8 Nov 2021 23:45:17 +0100 Subject: [PATCH] rescuefunding: fix local vs. remote chan cfg --- cmd/chantools/rescuefunding.go | 2 +- cmd/chantools/root.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/chantools/rescuefunding.go b/cmd/chantools/rescuefunding.go index efa996f..93812d6 100644 --- a/cmd/chantools/rescuefunding.go +++ b/cmd/chantools/rescuefunding.go @@ -185,7 +185,7 @@ func (c *rescueFundingCommand) Execute(_ *cobra.Command, _ []string) error { } localKeyDesc = &pendingChan.LocalChanCfg.MultiSigKey - remotePubKey = pendingChan.LocalChanCfg.MultiSigKey.PubKey + remotePubKey = pendingChan.RemoteChanCfg.MultiSigKey.PubKey case c.RemotePubKey != "": remoteKeyBytes, err := hex.DecodeString(c.RemotePubKey) diff --git a/cmd/chantools/root.go b/cmd/chantools/root.go index 71f66f3..59c1e57 100644 --- a/cmd/chantools/root.go +++ b/cmd/chantools/root.go @@ -26,7 +26,7 @@ import ( const ( defaultAPIURL = "https://blockstream.info/api" - version = "0.9.4" + version = "0.9.5" na = "n/a" Commit = ""