Cleanup rpc (#10910)

* Remove unreachable error case

* Inline Ok

* Hoist Ok
This commit is contained in:
Greg Fitzgerald
2020-07-03 17:39:14 -06:00
committed by GitHub
parent c5a501e87f
commit 2922494b4f
3 changed files with 114 additions and 143 deletions

View File

@@ -402,7 +402,6 @@ mod tests {
rpc_service
.request_processor
.get_balance(&mint_keypair.pubkey(), None)
.unwrap()
.value
);
rpc_service.exit();