Skip to content

Commit f2ee1d3

Browse files
committed
README+root: bump install link to latest version
1 parent 6295ba9 commit f2ee1d3

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Example (make sure you always use the latest version!):
3030

3131
```shell
3232
$ cd /tmp
33-
$ wget -O chantools.tar.gz https://github.com/lightninglabs/chantools/releases/download/v0.10.7/chantools-linux-amd64-v0.10.7.tar.gz
33+
$ wget -O chantools.tar.gz https://github.com/lightninglabs/chantools/releases/download/v0.11.2/chantools-linux-amd64-v0.11.2.tar.gz
3434
$ tar -zxvf chantools.tar.gz
3535
$ sudo mv chantools-*/chantools /usr/local/bin/
3636
```

cmd/chantools/root.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,12 @@ import (
2727

2828
const (
2929
defaultAPIURL = "https://blockstream.info/api"
30-
version = "0.11.3"
31-
na = "n/a"
30+
31+
// version is the current version of the tool. It is set during build.
32+
// NOTE: When changing this, please also update the version in the
33+
// download link shown in the README.
34+
version = "0.11.3"
35+
na = "n/a"
3236

3337
Commit = ""
3438
)

0 commit comments

Comments
 (0)