ledger-tool: Add print-accounts command
(cherry picked from commit 1bf2285fa2
)
This commit is contained in:
@@ -124,7 +124,7 @@ impl JsonRpcRequestProcessor {
|
||||
) -> Result<Vec<RpcKeyedAccount>> {
|
||||
Ok(self
|
||||
.bank(commitment)
|
||||
.get_program_accounts(&program_id)
|
||||
.get_program_accounts(Some(&program_id))
|
||||
.into_iter()
|
||||
.map(|(pubkey, account)| RpcKeyedAccount {
|
||||
pubkey: pubkey.to_string(),
|
||||
|
Reference in New Issue
Block a user