You are viewing a single comment's thread from:RE: bitshares研究系列【初识cli_wallet】View the full contextabit (71)in #bitshares • 7 years ago 主网的 nathan 账号私钥不一样。两个账号同时都在钱包文件了,感觉是有些 bug 。
import_key "nathan" 5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3
461790ms th_a wallet.cpp:470 copy_wallet_file ] backing up wallet wallet.json to before-import-key-9407629b-1.wallet
false
这个import_key是返回false的,只是在list_my_accounts中能看到了,等看看这实现
_wallet.update_account(account);
不管import成功还是失败都会把帐号数据导入钱包,还在注释里说明了
// @returns true if the key matches a current active/owner/memo key for the named
// account, false otherwise (but it is stored either way)