Skip to content

Commit

Permalink
rescueclosed: fix crash for nil commit point
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Aug 9, 2021
1 parent 328f48d commit 98aabb8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cmd/chantools/rescueclosed.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,8 @@ func addrInCache(addr string, perCommitPoint *btcec.PublicKey) (string, error) {
return wif.String(), nil
}
}

return "", errAddrNotFound
}

// Loop through all cached payment base point keys, tweak each of it
Expand Down
2 changes: 1 addition & 1 deletion cmd/chantools/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

const (
defaultAPIURL = "https://blockstream.info/api"
version = "0.9.0"
version = "0.9.1"
na = "n/a"

Commit = ""
Expand Down

0 comments on commit 98aabb8

Please sign in to comment.