From a2f8a0e27e2bfcf3544d05f91a29979ca9c28716 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Thu, 19 Oct 2023 13:45:39 +0200 Subject: [PATCH] dump+root: fix hard coded version and linter --- cmd/chantools/root.go | 2 +- dump/dump.go | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/chantools/root.go b/cmd/chantools/root.go index 880b460..6ee34f4 100644 --- a/cmd/chantools/root.go +++ b/cmd/chantools/root.go @@ -36,7 +36,7 @@ const ( // lndVersion is the current version of lnd that we support. This is // shown in some commands that affect the database and its migrations. - lndVersion = "v0.16.0-beta" + lndVersion = "v0.17.0-beta" Commit = "" ) diff --git a/dump/dump.go b/dump/dump.go index 6a8c992..c1e1812 100644 --- a/dump/dump.go +++ b/dump/dump.go @@ -272,7 +272,9 @@ func CollectDebugInfo(channel *channeldb.OpenChannel, return nil, err } - toRemotePkScript, err := txscript.ParsePkScript(toRemoteScript.PkScript()) + toRemotePkScript, err := txscript.ParsePkScript( + toRemoteScript.PkScript(), + ) if err != nil { return nil, err }