mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
Use standard C99 (and Qt) types for 64-bit integers
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
#include "headers.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QTimer>
|
||||
#include <QSet>
|
||||
|
||||
@@ -120,7 +121,7 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(const QList<SendCoinsRecipie
|
||||
CRITICAL_BLOCK(wallet->cs_wallet)
|
||||
{
|
||||
// Sendmany
|
||||
std::vector<std::pair<CScript, int64> > vecSend;
|
||||
std::vector<std::pair<CScript, qint64> > vecSend;
|
||||
foreach(const SendCoinsRecipient &rcp, recipients)
|
||||
{
|
||||
CScript scriptPubKey;
|
||||
@@ -130,7 +131,7 @@ WalletModel::SendCoinsReturn WalletModel::sendCoins(const QList<SendCoinsRecipie
|
||||
|
||||
CWalletTx wtx;
|
||||
CReserveKey keyChange(wallet);
|
||||
int64 nFeeRequired = 0;
|
||||
qint64 nFeeRequired = 0;
|
||||
bool fCreated = wallet->CreateTransaction(vecSend, wtx, keyChange, nFeeRequired);
|
||||
|
||||
if(!fCreated)
|
||||
|
||||
Reference in New Issue
Block a user