Skip to content

Commit

Permalink
fix: js wasm bindings (#260) (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
RequiemOfSoul authored Apr 15, 2024
1 parent b197643 commit f1e8d83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bindings/wasm/src/rpc_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ impl RpcClient {
)
}

#[wasm_bindgen(js_name=getFastWithdrawTxs)]
pub async fn tx_fast_withdraw(
#[wasm_bindgen(js_name=getWithdrawTxs)]
pub async fn tx_withdraw(
&self,
last_tx_timestamp: u64,
max_txs: u32,
Expand All @@ -288,7 +288,7 @@ impl RpcClient {
let _ = builder.insert(last_tx_timestamp);
let _ = builder.insert(max_txs);
rpc_request!(
"getFastWithdrawTxs",
"getWithdrawTxs",
builder,
&self.server_url,
Vec<FastWithdrawTxResp>
Expand Down

0 comments on commit f1e8d83

Please sign in to comment.