Clean up rpc module (#10812)

* Clean up rpc module

* Simplify getting bank
This commit is contained in:
Greg Fitzgerald
2020-06-25 17:08:55 -06:00
committed by GitHub
parent aa544b2245
commit 62b873b054
2 changed files with 69 additions and 76 deletions

View File

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