From a35e05f2ccb0b6e38888014fa7cd431062a75007 Mon Sep 17 00:00:00 2001 From: biscuit Date: Mon, 7 Oct 2019 23:40:14 +0800 Subject: [PATCH] allow duplicate send addresses --- src/clientversion.h | 2 +- src/qt/walletmodel.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clientversion.h b/src/clientversion.h index 6942a8a..5a2413c 100755 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -23,7 +23,7 @@ #define PEERCOIN_VERSION_MAJOR 0 #define PEERCOIN_VERSION_MINOR 7 #define PEERCOIN_VERSION_REVISION 3 -#define PEERCOIN_VERSION_BUILD 0 +#define PEERCOIN_VERSION_BUILD 01 // Copyright year (2009-this) // Todo: update this when changing our copyright comments in the source diff --git a/src/qt/walletmodel.cpp b/src/qt/walletmodel.cpp index bd68021..e2b2407 100755 --- a/src/qt/walletmodel.cpp +++ b/src/qt/walletmodel.cpp @@ -166,11 +166,11 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(const QList setAddress.size()) +/* if(recipients.size() > setAddress.size()) { return DuplicateAddress; } - +*/ // we do not use getBalance() here, because some coins could be locked or coin control could be active int64 nBalance = 0; std::vector vCoins;