More toward using STAmount.

This commit is contained in:
Arthur Britto
2012-05-18 20:17:28 -07:00
parent b8468770f0
commit abccd3aeb6
5 changed files with 12 additions and 7 deletions

View File

@@ -227,6 +227,7 @@ public:
int getOffset() const { return mOffset; }
uint64 getValue() const { return mValue; }
void setValue(const STAmount& v) { mValue=v; }
bool isNative() const { return mIsNative; }
const uint160& getCurrency() const { return mCurrency; }
void zero() { mOffset = mIsNative ? -100 : 0; mValue = 0; }