diff --git a/README.md b/README.md index cdda83d..1df53fb 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Example (make sure you always use the latest version!): ```shell $ cd /tmp -$ wget -O chantools.tar.gz https://github.com/lightninglabs/chantools/releases/download/v0.10.7/chantools-linux-amd64-v0.10.7.tar.gz +$ wget -O chantools.tar.gz https://github.com/lightninglabs/chantools/releases/download/v0.11.2/chantools-linux-amd64-v0.11.2.tar.gz $ tar -zxvf chantools.tar.gz $ sudo mv chantools-*/chantools /usr/local/bin/ ``` diff --git a/cmd/chantools/root.go b/cmd/chantools/root.go index 75553aa..e94f103 100644 --- a/cmd/chantools/root.go +++ b/cmd/chantools/root.go @@ -27,8 +27,12 @@ import ( const ( defaultAPIURL = "https://blockstream.info/api" - version = "0.11.3" - na = "n/a" + + // version is the current version of the tool. It is set during build. + // NOTE: When changing this, please also update the version in the + // download link shown in the README. + version = "0.11.3" + na = "n/a" Commit = "" )