Missing parameter in cli_wallet's function claim_account_creation
Bug description
In cli_wallet's function claim_account_creation
is missing parameter for name of created account. It has following signature:
condenser_api::legacy_signed_transaction
claim_account_creation(
const string & creator,
const condenser_api::legacy_asset & fee,
bool broadcast
)
After call:
claim_account_creation initminer "0.000 TESTS" true
cli_wallet creates operation without any account:
{
"ref_block_num": 60,
"ref_block_prefix": 3090553041,
"expiration": "2021-04-28T12:45:57",
"operations": [[
"claim_account",{
"creator": "initminer",
"fee": "0.000 TESTS",
"extensions": []
}
]
],
"extensions": [],
"signatures": [
"1f6c656cb97a7344fbd63b4d893dc7dc1d1eb42505da5c47ff8e1a36292b0ffe4b43831e8bb987cba8609a88b4a65f685dfc0f70e6b9d80c95a2036f678d29eebc"
],
"transaction_id": "c708ed620d716c070f7be9610b6992df3fcd3e4c",
"block_num": 61,
"transaction_num": 0
}
How to reproduce
With locally run testnet node (use this config: config.ini) write in cli_wallet:
set_password 1
unlock 1
import_key 5JNHfZYKGaomSFvd4NUdQ9qMcEAC43kujbfjueTHpVapX1Kzq2n
claim_account_creation initminer "0.000 TESTS" true