diff --git a/lnwallet/btcwallet/btcwallet.go b/lnwallet/btcwallet/btcwallet.go index db6fe3db..6e9a929e 100644 --- a/lnwallet/btcwallet/btcwallet.go +++ b/lnwallet/btcwallet/btcwallet.go @@ -207,9 +207,9 @@ func (b *BtcWallet) NewAddress(t lnwallet.AddressType, change bool) (btcutil.Add } if change { - return b.wallet.NewAddress(defaultAccount, addrType) - } else { return b.wallet.NewChangeAddress(defaultAccount, addrType) + } else { + return b.wallet.NewAddress(defaultAccount, addrType) } }