diff --git a/src/contract.rs b/src/contract.rs index f4b2d1f..afda6d0 100644 --- a/src/contract.rs +++ b/src/contract.rs @@ -93,8 +93,10 @@ pub fn reply(deps: DepsMut, env: Env, _msg: Reply) -> Result for Config { fn from(value: InstantiateMsg) -> Self { Self { owner: value.owner, - revenue_denom: value.revenue_denom, + target_denom: value.target_denom, + target_address: value.target_address, } } } @@ -43,7 +47,8 @@ impl From for ConfigResponse { fn from(value: Config) -> Self { Self { owner: value.owner, - revenue_denom: value.revenue_denom, + target_denom: value.target_denom, + target_address: value.target_address, } } }