Skip to content

Commit a149ca0

Browse files
author
sproxet
committed
Respect strFromAccount in CreateTransaction.
1 parent b0b12d2 commit a149ca0

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/wallet/wallet.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4728,7 +4728,10 @@ bool CWallet::CreateTransaction(const std::vector<CRecipient>& vecSend, CWalletT
47284728

47294729
nFeeRet = -1;
47304730
strFailReason = "";
4731+
4732+
std::string strFromAccount = wtxNew.strFromAccount;
47314733
wtxNew = CWalletTx();
4734+
wtxNew.strFromAccount = strFromAccount;
47324735

47334736
CAmount nRequired = 0;
47344737
size_t nConstantSize = 4 + // version

0 commit comments

Comments
 (0)