mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Merge 08ea835220 into merged_master (Bitcoin PR bitcoin/bitcoin#28583)
This commit is contained in:
commit
69492d27da
46 changed files with 165 additions and 164 deletions
|
|
@ -20,8 +20,8 @@ namespace wallet{
|
|||
static void AddTx(CWallet& wallet)
|
||||
{
|
||||
CMutableTransaction mtx;
|
||||
mtx.vout.push_back({::policyAsset, COIN, GetScriptForDestination(*Assert(wallet.GetNewDestination(OutputType::BECH32, "")))});
|
||||
mtx.vin.push_back(CTxIn());
|
||||
mtx.vout.emplace_back(::policyAsset, COIN, GetScriptForDestination(*Assert(wallet.GetNewDestination(OutputType::BECH32, ""))));
|
||||
mtx.vin.emplace_back();
|
||||
|
||||
wallet.AddToWallet(MakeTransactionRef(mtx), TxStateInactive{});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue