diff --git a/src/Amount.cpp b/src/Amount.cpp index 917c04bbdb..7d95eeffca 100644 --- a/src/Amount.cpp +++ b/src/Amount.cpp @@ -281,13 +281,13 @@ STAmount::STAmount(const char* name, int64 value) : SerializedType(name), mOffse { if (value >= 0) { - mIsNegative = false; - mValue = static_cast(value); + mIsNegative = false; + mValue = static_cast(value); } else { - mIsNegative = true; - mValue = static_cast(-value); + mIsNegative = true; + mValue = static_cast(-value); } }