COutput: implemented Value() method.

This commit is contained in:
furszy 2020-10-31 23:28:04 -03:00
parent d8e154ebfb
commit c84390279c
No known key found for this signature in database
GPG Key ID: 5DD23CCC686AA623
1 changed files with 1 additions and 0 deletions

View File

@ -625,6 +625,7 @@ public:
COutput(const CWalletTx *txIn, int iIn, int nDepthIn, bool fSpendableIn, bool fIsCoinbaseIn = false) :
tx(txIn), i(iIn), nDepth(nDepthIn), fSpendable(fSpendableIn), fIsCoinbase(fIsCoinbaseIn){ }
CAmount Value() const { return tx->vout[i].nValue; }
std::string ToString() const;
};