This commit is contained in:
JoelKatz
2012-04-20 20:21:42 -07:00
parent 9a50a0e4f1
commit 5a9050aa69

View File

@@ -199,7 +199,7 @@ void STAccount::setValueH160(const uint160& v)
bool STAccount::getValueH160(uint160& v) const
{
if (!isValueH160()) return false;
memcpy(v.begin(), &(peekValue().front()), 32);
memcpy(v.begin(), &(peekValue().front()), 20);
return true;
}