Skip to content

Commit d042854

Browse files
committed
SQUASH "Implement watchonly support in fundrawtransaction"
1 parent 428a898 commit d042854

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/coincontrol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CCoinControl
1414
CTxDestination destChange;
1515
//! If false, allows unselected inputs, but requires all selected inputs be used
1616
bool fAllowOtherInputs;
17-
//! Includes watch only addresses which match the ISMINE_WATCH_PUBKEY criteria
17+
//! Includes watch only addresses which match the ISMINE_WATCH_SOLVABLE criteria
1818
bool fAllowWatchOnly;
1919

2020
CCoinControl()

src/wallet/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ void CWallet::AvailableCoins(vector<COutput>& vCoins, bool fOnlyConfirmed, const
15261526
(!coinControl || !coinControl->HasSelected() || coinControl->fAllowOtherInputs || coinControl->IsSelected((*it).first, i)))
15271527
vCoins.push_back(COutput(pcoin, i, nDepth,
15281528
((mine & ISMINE_SPENDABLE) != ISMINE_NO) ||
1529-
(coinControl && coinControl->fAllowWatchOnly && (mine & ISMINE_WATCH_PUBKEY) != ISMINE_NO)));
1529+
(coinControl && coinControl->fAllowWatchOnly && (mine & ISMINE_WATCH_SOLVABLE) != ISMINE_NO)));
15301530
}
15311531
}
15321532
}

0 commit comments

Comments
 (0)