From ac66c2e03e83b7f6db32444d9665612d0104eea2 Mon Sep 17 00:00:00 2001 From: Jianping Wu Date: Sun, 25 Nov 2018 21:34:15 -0800 Subject: [PATCH] Fixed windows build. Fixed qt build. --- src/qt/walletmodel.cpp | 3 ++- src/script/keva.cpp | 5 ++++- src/wallet/wallet.cpp | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index 4d7e977fc..dbafd1613 100644 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -276,7 +276,8 @@ WalletModel::SendCoinsReturn WalletModel::prepareTransaction(WalletModelTransact CWalletTx *newTx = transaction.getTransaction(); CReserveKey *keyChange = transaction.getPossibleKeyChange(); - bool fCreated = wallet->CreateTransaction(vecSend, *newTx, *keyChange, nFeeRequired, nChangePosRet, strFailReason, coinControl); + std::vector empty; + bool fCreated = wallet->CreateTransaction(vecSend, nullptr, empty, *newTx, *keyChange, nFeeRequired, nChangePosRet, strFailReason, coinControl); transaction.setTransactionFee(nFeeRequired); if (fSubtractFeeFromAmount && fCreated) transaction.reassignAmounts(nChangePosRet); diff --git a/src/script/keva.cpp b/src/script/keva.cpp index 5f2fa7786..edfa6b004 100644 --- a/src/script/keva.cpp +++ b/src/script/keva.cpp @@ -2,9 +2,12 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +// Copyright (c) 2018 The Kevacoin Core Developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include