split wallet staking commands (#6168)
* split wallet staking commands * elide real home * unit->UNIT for usage * unit->UNIT, don't try to run SUBCOMMANDS: ;) * more fixup * fixups * actually check * shellcheck * preserve #6158 after rebase * fixup * test * too hard * remove test
This commit is contained in:
@@ -311,8 +311,7 @@ impl RpcClient {
|
||||
|
||||
response
|
||||
.and_then(|account_json| {
|
||||
let account: Account =
|
||||
serde_json::from_value(account_json).expect("deserialize account");
|
||||
let account: Account = serde_json::from_value(account_json)?;
|
||||
trace!("Response account {:?} {:?}", pubkey, account);
|
||||
Ok(account)
|
||||
})
|
||||
|
Reference in New Issue
Block a user