From 35ae9c7190123e8c5c5944fe5e7859bf1d6b3531 Mon Sep 17 00:00:00 2001 From: kenta-elys Date: Mon, 18 Dec 2023 17:17:24 +0000 Subject: [PATCH] chore: fix denom issue in stake_request --- src/action/execute/stake_request.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/action/execute/stake_request.rs b/src/action/execute/stake_request.rs index 3e22175..eb1a769 100644 --- a/src/action/execute/stake_request.rs +++ b/src/action/execute/stake_request.rs @@ -27,7 +27,7 @@ pub fn stake_request( }); } - let msg = ElysMsg::stake_token(address, Int128::from(amount), asset, validator_address); + let msg = ElysMsg::stake_token(address, Int128::from(amount), real_denom.clone(), validator_address); let resp = Response::new().add_message(msg); Ok(resp) }