Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BD-4616 No error on get fio balance #383

Merged
merged 1 commit into from
Feb 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions plugins/chain_plugin/chain_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3658,8 +3658,9 @@ if( options.count(name) ) { \
uint64_t additional_available_fio_locks = 0;
if (!grows_result.rows.empty()) {

FIO_404_ASSERT(grows_result.rows.size() == 1, "Unexpected number of results found for main net locks",
fioio::ErrorUnexpectedNumberResults);
if (grows_result.rows.size() > 1) {
dlog(" multiple lock table entries for account " + account.to_string());
}

uint64_t timestamp = grows_result.rows[0]["timestamp"].as_uint64();
uint32_t payouts_performed = grows_result.rows[0]["payouts_performed"].as_uint64();
Expand Down