diff options
| author | Cory Fields <[email protected]> | 2016-05-24 20:56:17 -0400 |
|---|---|---|
| committer | Cory Fields <[email protected]> | 2016-09-08 12:04:35 -0400 |
| commit | 5b446dd5b11d4f403554bc2dd5a7a94c7d20422a (patch) | |
| tree | a17d2662531e4ddde04872bd75a4924be36de2b5 /src/qt/walletmodel.cpp | |
| parent | net: Pass CConnman around as needed (diff) | |
| download | discoin-5b446dd5b11d4f403554bc2dd5a7a94c7d20422a.tar.xz discoin-5b446dd5b11d4f403554bc2dd5a7a94c7d20422a.zip | |
net: Pass CConnection to wallet rather than using the global
Diffstat (limited to 'src/qt/walletmodel.cpp')
| -rw-r--r-- | src/qt/walletmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index ae7efc7a0..73851e97f 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -328,7 +328,7 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(WalletModelTransaction &tran } CReserveKey *keyChange = transaction.getPossibleKeyChange(); - if(!wallet->CommitTransaction(*newTx, *keyChange)) + if(!wallet->CommitTransaction(*newTx, *keyChange, g_connman.get())) return TransactionCommitFailed; CTransaction* t = (CTransaction*)newTx; |