rescueclosed: fix crash for nil commit point

pull/32/head v0.9.1
Oliver Gugger 3 years ago
parent 328f48d1f7
commit 98aabb89b3
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -403,6 +403,8 @@ func addrInCache(addr string, perCommitPoint *btcec.PublicKey) (string, error) {
return wif.String(), nil return wif.String(), nil
} }
} }
return "", errAddrNotFound
} }
// Loop through all cached payment base point keys, tweak each of it // Loop through all cached payment base point keys, tweak each of it

@ -26,7 +26,7 @@ import (
const ( const (
defaultAPIURL = "https://blockstream.info/api" defaultAPIURL = "https://blockstream.info/api"
version = "0.9.0" version = "0.9.1"
na = "n/a" na = "n/a"
Commit = "" Commit = ""

Loading…
Cancel
Save