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
2018-08-24 15:31:57 +02:00
parent beb5d14ed9
commit 10070ecab7
8 changed files with 12 additions and 8 deletions

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
}