diff options
| author | João Barbosa <[email protected]> | 2016-02-11 01:07:22 +0000 |
|---|---|---|
| committer | João Barbosa <[email protected]> | 2016-03-08 15:14:47 +0000 |
| commit | d6cc6a1830bb7e03701488ca30c46457434dec6c (patch) | |
| tree | 7d4dab4705ac661f0ba761483e98b0cbf62cf069 /src/coincontrol.h | |
| parent | Merge #7628: QT: Add 'copy full transaction details' option (diff) | |
| download | discoin-d6cc6a1830bb7e03701488ca30c46457434dec6c.tar.xz discoin-d6cc6a1830bb7e03701488ca30c46457434dec6c.zip | |
Use CCoinControl selection in CWallet::FundTransaction
Diffstat (limited to 'src/coincontrol.h')
| -rw-r--r-- | src/coincontrol.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/coincontrol.h b/src/coincontrol.h index 9626ad2c5..12fe9ce21 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) |