From 5b59603c0e5fd5e61793ac54cafcf39b74a360c4 Mon Sep 17 00:00:00 2001 From: canonbrother Date: Tue, 4 Jun 2024 14:12:21 +0800 Subject: [PATCH] typing correction: rpc get_account_history txn u64 -> u32 --- client/src/traits/account.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/traits/account.rs b/client/src/traits/account.rs index 2ea44e4..cd92fdf 100644 --- a/client/src/traits/account.rs +++ b/client/src/traits/account.rs @@ -27,7 +27,7 @@ pub trait AccountRPC: RpcApi { &self, owner: &str, block_height: u64, - txn: u64, + txn: u32, ) -> Result; async fn get_burn_info(&self) -> Result; async fn get_pending_dusd_swaps(&self, address: String) -> Result; @@ -114,7 +114,7 @@ impl AccountRPC for Client { &self, owner: &str, block_height: u64, - txn: u64, + txn: u32, ) -> Result { self.call( "getaccounthistory",