Remove remaining wallet accesses to node globals

This commit is contained in:
Russell Yanofsky committed 2019-03-06 16:47:57 -05:00
1 parent b1b2b23892
commit d358466de1
12 files changed
+63 -49

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ std::unique_ptr<interfaces::PendingWalletTx>& WalletModelTransaction::getWtx()
unsigned int WalletModelTransaction::getTransactionSize()
{
return wtx ? wtx->getVirtualSize() : 0;
return wtx ? GetVirtualTransactionSize(wtx->get()) : 0;
}
CAmount WalletModelTransaction::getTransactionFee() const