diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2016-05-24 20:56:17 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2016-09-08 12:04:35 -0400 |
commit | 5b446dd5b11d4f403554bc2dd5a7a94c7d20422a (patch) | |
tree | a17d2662531e4ddde04872bd75a4924be36de2b5 /src/qt/walletmodel.cpp | |
parent | 8d58c4d81f18e9a51d11ee354434cf55d03a4add (diff) |
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 ae7efc7a0d..73851e97fc 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; |