Skip to content

Commit

Permalink
fix: contract reply id
Browse files Browse the repository at this point in the history
  • Loading branch information
emidev98 committed Jan 19, 2024
1 parent 2258908 commit 0630cef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions contracts/alliance-lp-hub/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ fn _update_astro_rewards(
funds: vec![],
});

return Ok(Some(SubMsg::reply_always(msg, CLAIM_REWARD_ERROR_REPLY_ID)));
return Ok(Some(SubMsg::reply_always(msg, CLAIM_ASTRO_REWARD_REPLY_ID)));
}

Ok(None)
Expand Down Expand Up @@ -861,8 +861,6 @@ fn reply_astro_rewards(
if attr.key == "claimed_position" {
// TODO : find the claimed_rewards
}


}

Ok(Response::new().add_attributes(vec![("action", "reply_astro_rewards")]))
Expand Down

0 comments on commit 0630cef

Please sign in to comment.