Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Fix a missing compile error, sorry
Browse files Browse the repository at this point in the history
  • Loading branch information
linhuang-blockone committed Apr 16, 2021
1 parent 810a28d commit faaadc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions programs/cleos/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2310,9 +2310,9 @@ void get_account( const string& accountName, const string& coresym, bool json_fo
std::cout << indent << std::left << std::setw(11) << "limit:" << std::right << std::setw(18) << to_pretty_time( res.cpu_limit.max ) << "\n";
std::cout << std::endl;

if( res.subjective_cpu_bill.valid() ) {
if( res.subjective_cpu_bill_limit.valid() ) {
std::cout << "subjective cpu bandwidth:" << std::endl;
std::cout << indent << std::left << std::setw(11) << "used:" << std::right << std::setw(18) << to_pretty_time( *(res.subjective_cpu_bill).used ) << "\n";
std::cout << indent << std::left << std::setw(11) << "used:" << std::right << std::setw(18) << to_pretty_time( (res.subjective_cpu_bill_limit)->used ) << "\n";
std::cout << std::endl;
}

Expand Down

0 comments on commit faaadc5

Please sign in to comment.