change constructors
This commit is contained in:
parent
11de2d33e7
commit
3dfcf027e3
|
@ -31,12 +31,8 @@ public:
|
||||||
CAmount amount;
|
CAmount amount;
|
||||||
std::string memo;
|
std::string memo;
|
||||||
|
|
||||||
SendManyRecipient(std::string address_, CAmount amount_, std::string memo_ = "")
|
SendManyRecipient(std::string address_, CAmount amount_, std::string memo_ = "") :
|
||||||
{
|
address(address_), amount(amount_), memo(memo_) {}
|
||||||
address = address_;
|
|
||||||
amount = amount_;
|
|
||||||
memo = memo_;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class SendManyInputUTXO {
|
class SendManyInputUTXO {
|
||||||
|
@ -46,13 +42,8 @@ public:
|
||||||
CAmount amount;
|
CAmount amount;
|
||||||
bool coinbase;
|
bool coinbase;
|
||||||
|
|
||||||
SendManyInputUTXO(uint256 txid_, int vout_, CAmount amount_, bool coinbase_)
|
SendManyInputUTXO(uint256 txid_, int vout_, CAmount amount_, bool coinbase_) :
|
||||||
{
|
txid(txid_), vout(vout_), amount(amount_), coinbase(coinbase_) {}
|
||||||
txid = txid_;
|
|
||||||
vout = vout_;
|
|
||||||
amount = amount_;
|
|
||||||
coinbase = coinbase_;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class SendManyInputJSOP {
|
class SendManyInputJSOP {
|
||||||
|
@ -61,12 +52,8 @@ public:
|
||||||
SproutNote note;
|
SproutNote note;
|
||||||
CAmount amount;
|
CAmount amount;
|
||||||
|
|
||||||
SendManyInputJSOP(JSOutPoint point_, SproutNote note_, CAmount amount_)
|
SendManyInputJSOP(JSOutPoint point_, SproutNote note_, CAmount amount_) :
|
||||||
{
|
point(point_), note(note_), amount(amount_) {}
|
||||||
point = point_;
|
|
||||||
note = note_;
|
|
||||||
amount = amount_;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// Package of info which is passed to perform_joinsplit methods.
|
// Package of info which is passed to perform_joinsplit methods.
|
||||||
|
|
Loading…
Reference in New Issue