From 054753e3e4957d4e55c542ec7777f040fe9a5315 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 29 Sep 2014 16:26:33 -0700 Subject: [PATCH] use global nTransactionFee. --- src/bitcoindjs.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index 1ddb2ca8..7d8ed527 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -104,6 +104,7 @@ extern std::map 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(valid && standard)); } -// extern int64_t nTransactionFee; -int64_t nTransactionFee = 0; - bool SelectCoins(CWallet& wallet, int64_t nTargetValue, set >& setCoinsRet, int64_t& nValueRet, const CCoinControl* coinControl) {