'err != nil' -> 'err == nil', fixes getaddressesbyaccount
This commit is contained in:
parent
f14d2edbff
commit
c85a3a29e3
1 changed files with 1 additions and 1 deletions
|
@ -721,7 +721,7 @@ func (w *Wallet) GetActiveAddresses() []string {
|
|||
addr := w.addrMap[*addr160]
|
||||
addrstr, err := addr.paymentAddress(w.net)
|
||||
// TODO(jrick): propigate error
|
||||
if err != nil {
|
||||
if err == nil {
|
||||
addrs = append(addrs, addrstr)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue