lnwallet: make BlockChainIO.GetUTXO take cancel chan

Use quit channels as cancel chan for call to GetUTXO.
This commit is contained in:
Johan T. Halseth committed 2019-05-09 14:44:47 +02:00
1 parent beb5d14ed9
commit 10070ecab7
8 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -245,7 +245,7 @@ func (m *mockChainIO) GetBestBlock() (*chainhash.Hash, int32, error) {
}
func (m *mockChainIO) GetUtxo(op *wire.OutPoint, pkScript []byte,
heightHint uint32) (*wire.TxOut, error) {
heightHint uint32, _ <-chan struct{}) (*wire.TxOut, error) {
return nil, nil
}