Use print_money in log

This commit is contained in:
Zachary Michaels 2014-07-17 11:10:27 -04:00
parent d9f3421ce7
commit c017bb0656

View File

@ -54,7 +54,7 @@ namespace cryptonote
if(outputs_amount >= inputs_amount) if(outputs_amount >= inputs_amount)
{ {
LOG_PRINT_L0("transaction use more money then it has: use " << outputs_amount << ", have " << inputs_amount); LOG_PRINT_L0("transaction use more money then it has: use " << print_money(outputs_amount) << ", have " << print_money(inputs_amount));
tvc.m_verifivation_failed = true; tvc.m_verifivation_failed = true;
return false; return false;
} }