Add get_balance() and get_account_data() to SyncClient
Migrate tests to use them.
This commit is contained in:
@ -307,7 +307,7 @@ mod tests {
|
||||
InstructionError::MissingRequiredSignature
|
||||
))
|
||||
);
|
||||
assert_eq!(bank.get_balance(&alice_pubkey), 50);
|
||||
assert_eq!(bank.get_balance(&mallory_pubkey), 50);
|
||||
assert_eq!(bank_client.get_balance(&alice_pubkey), 50);
|
||||
assert_eq!(bank_client.get_balance(&mallory_pubkey), 50);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user