use global nTransactionFee.

This commit is contained in:
Christopher Jeffrey 2014-09-29 16:26:33 -07:00
parent 9e68e7608c
commit 054753e3e4
1 changed files with 1 additions and 3 deletions

View File

@ -104,6 +104,7 @@ extern std::map<std::string, std::string> mapArgs;
extern std::string strWalletFile;
extern CWallet *pwalletMain;
#endif
extern int64_t nTransactionFee;
/**
* Node and Templates
@ -1214,9 +1215,6 @@ NAN_METHOD(VerifyTransaction) {
NanReturnValue(NanNew<Boolean>(valid && standard));
}
// extern int64_t nTransactionFee;
int64_t nTransactionFee = 0;
bool SelectCoins(CWallet& wallet, int64_t nTargetValue,
set<pair<const CWalletTx*,unsigned int> >& setCoinsRet,
int64_t& nValueRet, const CCoinControl* coinControl) {