aboutsummaryrefslogtreecommitdiff
path: root/src/coincontrol.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-03-24 14:56:11 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-03-24 14:59:51 +0100
commitb88e0b0c610a6ff1aeaab136005e1ce600c4970d (patch)
treedec8ad59469b7becfbfd6a00ccb4b6e1c2a08ba9 /src/coincontrol.h
parent3ba07bdf7da40b77f2709ac9628b9d0d20c846e7 (diff)
parentd6cc6a1830bb7e03701488ca30c46457434dec6c (diff)
Merge #7506: Use CCoinControl selection in CWallet::FundTransaction
d6cc6a1 Use CCoinControl selection in CWallet::FundTransaction (João Barbosa)
Diffstat (limited to 'src/coincontrol.h')
-rw-r--r--src/coincontrol.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/coincontrol.h b/src/coincontrol.h
index 9626ad2c5b..12fe9ce219 100644
--- a/src/coincontrol.h
+++ b/src/coincontrol.h
@@ -38,10 +38,9 @@ public:
return (setSelected.size() > 0);
}
- bool IsSelected(const uint256& hash, unsigned int n) const
+ bool IsSelected(const COutPoint& output) const
{
- COutPoint outpt(hash, n);
- return (setSelected.count(outpt) > 0);
+ return (setSelected.count(output) > 0);
}
void Select(const COutPoint& output)