Skip to content

Commit

Permalink
typing correction: rpc get_account_history txn u64 -> u32
Browse files Browse the repository at this point in the history
  • Loading branch information
canonbrother committed Jun 4, 2024
1 parent 2e948d7 commit 5b59603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/traits/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub trait AccountRPC: RpcApi {
&self,
owner: &str,
block_height: u64,
txn: u64,
txn: u32,
) -> Result<AccountHistory>;
async fn get_burn_info(&self) -> Result<BurnInfo>;
async fn get_pending_dusd_swaps(&self, address: String) -> Result<DusdSwapsInfo>;
Expand Down Expand Up @@ -114,7 +114,7 @@ impl AccountRPC for Client {
&self,
owner: &str,
block_height: u64,
txn: u64,
txn: u32,
) -> Result<AccountHistory> {
self.call(
"getaccounthistory",
Expand Down

0 comments on commit 5b59603

Please sign in to comment.