lnd.xprv/lnwallet/btcwallet
Olaoluwa Osuntokun 2509ecd8d8
lnwallet: fix ListTransactionDetails to ensure unconfirmed transactions are installed
In this commit, we fix a bug in the arguments to GetTransactions for the
btcwallet implementation of the WalletController interface. Before this
commit, we wouldn't properly return unconfirmed transactions. The issue
was that we didn't specify the special mempool height of "-1", as the
ending height. The mempool height is actually internally converted to
the highest possible height that can fit into a int32.

In this commit, we set the start to zero, and end to -1 (actually
2^32-1) to properly scan for unconfirmed transactions.

Fixes #1422.
2018-09-12 21:01:40 -07:00
..
blockchain.go lnwallet/btcwallet: update neutrino GetUtxo impl to use new API 2018-07-31 21:28:57 -07:00
btcwallet.go lnwallet: fix ListTransactionDetails to ensure unconfirmed transactions are installed 2018-09-12 21:01:40 -07:00
config.go multi: switch over import paths from roasbeef/* to btcsuite/* 2018-07-13 17:05:39 -07:00
driver.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00
signer.go multi: sort import paths with gofmt 2018-08-02 18:20:49 -07:00