use global nTransactionFee.
This commit is contained in:
parent
9e68e7608c
commit
054753e3e4
@ -104,6 +104,7 @@ extern std::map<std::string, std::string> mapArgs;
|
|||||||
extern std::string strWalletFile;
|
extern std::string strWalletFile;
|
||||||
extern CWallet *pwalletMain;
|
extern CWallet *pwalletMain;
|
||||||
#endif
|
#endif
|
||||||
|
extern int64_t nTransactionFee;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Node and Templates
|
* Node and Templates
|
||||||
@ -1214,9 +1215,6 @@ NAN_METHOD(VerifyTransaction) {
|
|||||||
NanReturnValue(NanNew<Boolean>(valid && standard));
|
NanReturnValue(NanNew<Boolean>(valid && standard));
|
||||||
}
|
}
|
||||||
|
|
||||||
// extern int64_t nTransactionFee;
|
|
||||||
int64_t nTransactionFee = 0;
|
|
||||||
|
|
||||||
bool SelectCoins(CWallet& wallet, int64_t nTargetValue,
|
bool SelectCoins(CWallet& wallet, int64_t nTargetValue,
|
||||||
set<pair<const CWalletTx*,unsigned int> >& setCoinsRet,
|
set<pair<const CWalletTx*,unsigned int> >& setCoinsRet,
|
||||||
int64_t& nValueRet, const CCoinControl* coinControl) {
|
int64_t& nValueRet, const CCoinControl* coinControl) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user