Skip to content

Commit 180114e

Browse files
authored
fix wasm rpc method types for methods without mandatory arguments (kaspanet#572)
1 parent 035a394 commit 180114e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

rpc/wrpc/wasm/src/client.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -976,6 +976,11 @@ build_wrpc_wasm_bindgen_interface!(
976976
/// Obtains basic information about the synchronization status of the Kaspa node.
977977
/// Returned information: Syncing status.
978978
GetSyncStatus,
979+
/// Feerate estimates
980+
GetFeeEstimate,
981+
/// Retrieves the current network configuration.
982+
/// Returned information: Current network configuration.
983+
GetCurrentNetwork,
979984
],
980985
[
981986
// functions with `request` argument
@@ -1010,13 +1015,8 @@ build_wrpc_wasm_bindgen_interface!(
10101015
/// score timestamp estimate.
10111016
/// Returned information: DAA score timestamp estimate.
10121017
GetDaaScoreTimestampEstimate,
1013-
/// Feerate estimates
1014-
GetFeeEstimate,
10151018
/// Feerate estimates (experimental)
10161019
GetFeeEstimateExperimental,
1017-
/// Retrieves the current network configuration.
1018-
/// Returned information: Current network configuration.
1019-
GetCurrentNetwork,
10201020
/// Retrieves block headers from the Kaspa BlockDAG.
10211021
/// Returned information: List of block headers.
10221022
GetHeaders,

0 commit comments

Comments
 (0)