mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Small tweaks to CCoinControl for fundrawtransaction
This commit is contained in:
parent
8a10000222
commit
4f46b2d3e1
1 changed files with 3 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ class CCoinControl
|
|||
{
|
||||
public:
|
||||
CTxDestination destChange;
|
||||
bool fAllowOtherInputs;
|
||||
|
||||
CCoinControl()
|
||||
{
|
||||
|
|
@ -21,6 +22,7 @@ public:
|
|||
void SetNull()
|
||||
{
|
||||
destChange = CNoDestination();
|
||||
fAllowOtherInputs = false;
|
||||
setSelected.clear();
|
||||
}
|
||||
|
||||
|
|
@ -50,7 +52,7 @@ public:
|
|||
setSelected.clear();
|
||||
}
|
||||
|
||||
void ListSelected(std::vector<COutPoint>& vOutpoints)
|
||||
void ListSelected(std::vector<COutPoint>& vOutpoints) const
|
||||
{
|
||||
vOutpoints.assign(setSelected.begin(), setSelected.end());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue