blockweight: allfields to compact Hex fix

This commit is contained in:
winsvega 2015-04-23 17:57:59 +03:00
parent d872539b1f
commit 1580c38d66

View File

@ -137,7 +137,7 @@ json_spirit::mObject& ImportTest::makeAllFieldsHex(json_spirit::mObject& _o)
str = value.get_str();
else continue;
_o[key] = (str.substr(0, 2) == "0x") ? str : toHex(toInt(str), HexPrefix::Add);
_o[key] = (str.substr(0, 2) == "0x") ? str : toCompactHex(toInt(str), HexPrefix::Add);
}
return _o;
}