From b819c4d1cec9e1e24f8ae09d522360e7921baae8 Mon Sep 17 00:00:00 2001 From: nakul1010 Date: Wed, 13 Dec 2023 01:32:50 +0530 Subject: [PATCH] fix: add alias name for RPC --- crates/vault-registry/rpc/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/vault-registry/rpc/src/lib.rs b/crates/vault-registry/rpc/src/lib.rs index b3e479c5ac..ecd395a424 100644 --- a/crates/vault-registry/rpc/src/lib.rs +++ b/crates/vault-registry/rpc/src/lib.rs @@ -82,7 +82,7 @@ where at: Option, ) -> RpcResult>; - #[method(name = "vaultRegistry_getRequiredCollateralForVault")] + #[method(name = "vaultRegistry_getRequiredCollateralForVault", aliases = "redeem_getPremiumRedeemVaults")] fn get_required_collateral_for_vault( &self, vault_id: VaultId,