mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Move nTransactionFee from main.cpp to wallet.cpp
Transaction fee is only used by the wallet. No need for it to be in main.cpp.
This commit is contained in:
parent
a943bde6f0
commit
cd7fa8bb43
8 changed files with 8 additions and 9 deletions
|
|
@ -78,9 +78,7 @@ Value getinfo(const Array& params, bool fHelp)
|
|||
obj.push_back(Pair("keypoololdest", (boost::int64_t)pwalletMain->GetOldestKeyPoolTime()));
|
||||
obj.push_back(Pair("keypoolsize", (int)pwalletMain->GetKeyPoolSize()));
|
||||
}
|
||||
#endif
|
||||
obj.push_back(Pair("paytxfee", ValueFromAmount(nTransactionFee)));
|
||||
#ifdef ENABLE_WALLET
|
||||
if (pwalletMain && pwalletMain->IsCrypted())
|
||||
obj.push_back(Pair("unlocked_until", (boost::int64_t)nWalletUnlockTime));
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue