diff --git a/programs/cleos/main.cpp b/programs/cleos/main.cpp index 9ba4f0f15aa..0a70bc7a325 100644 --- a/programs/cleos/main.cpp +++ b/programs/cleos/main.cpp @@ -1539,7 +1539,9 @@ struct bidname_info_subcommand { list_producers->add_option("newname", newname, localized("The bidding name"))->required(); list_producers->set_callback([this] { auto rawResult = call(get_table_func, fc::mutable_variant_object("json", true) - ("code", "eosio")("scope", "eosio")("table", "namebids") + ("code", name(config::system_account_name).to_string()) + ("scope", name(config::system_account_name).to_string()) + ("table", "namebids") ("lower_bound", name(newname).to_uint64_t()) ("upper_bound", name(newname).to_uint64_t() + 1) // Less than ideal upper_bound usage preserved so cleos can still work with old buggy nodeos versions