Skip to content

Commit 25074ee

Browse files
committed
Fix typo in RPC method names
1 parent 9e618b3 commit 25074ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pallets/swap/rpc/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ pub use pallet_subtensor_swap_runtime_api::SwapRuntimeApi;
1818
pub trait SwapRpcApi<BlockHash> {
1919
#[method(name = "swap_currentAlphaPrice")]
2020
fn current_alpha_price(&self, netuid: u16, at: Option<BlockHash>) -> RpcResult<u64>;
21-
#[method(name = "swap_sinSwapTaoForAlpha")]
21+
#[method(name = "swap_simSwapTaoForAlpha")]
2222
fn sim_swap_tao_for_alpha(
2323
&self,
2424
netuid: u16,
2525
tao: u64,
2626
at: Option<BlockHash>,
2727
) -> RpcResult<Vec<u8>>;
28-
#[method(name = "swap_sinSwapAlphaForTao")]
28+
#[method(name = "swap_simSwapAlphaForTao")]
2929
fn sim_swap_alpha_for_tao(
3030
&self,
3131
netuid: u16,

0 commit comments

Comments
 (0)