Skip to content

Commit

Permalink
fix: add alias name for RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul1010 committed Dec 12, 2023
1 parent 4366f32 commit b819c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/vault-registry/rpc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ where
at: Option<BlockHash>,
) -> RpcResult<BalanceWrapper<Balance>>;

#[method(name = "vaultRegistry_getRequiredCollateralForVault")]
#[method(name = "vaultRegistry_getRequiredCollateralForVault", aliases = "redeem_getPremiumRedeemVaults")]
fn get_required_collateral_for_vault(
&self,
vault_id: VaultId,
Expand Down

0 comments on commit b819c4d

Please sign in to comment.