multi: Utxo restriction single funding case.
Restrict the utxo selection when opening a single internal wallet funded backed channel.
This commit is contained in:
6 files changed
+87
-12
No files matched your search
@@ -334,7 +334,8 @@ func (w *WalletAssembler) ProvisionChannel(r *Request) (Intent, error) {
|
||||
}
|
||||
for _, coin := range manuallySelectedCoins {
|
||||
if _, ok := unspent[coin.OutPoint]; !ok {
|
||||
return fmt.Errorf("outpoint already spent: %v",
|
||||
return fmt.Errorf("outpoint already spent or "+
|
||||
"locked by another subsystem: %v",
|
||||
coin.OutPoint)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user