Skip to content

Commit

Permalink
feat: better balance amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas committed Jul 17, 2024
1 parent 1bee3c5 commit 5c17e8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoints/quests/verify_balance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pub async fn handler(

match call_result {
Ok(result) => {
if result[0] < FieldElement::from_dec_str("4000000000000000").unwrap() {
if result[0] < FieldElement::from_dec_str("3000000000000000").unwrap() {
get_error("You didn't invest on nimbora.".to_string())
} else {
match state.upsert_completed_task(query.addr, task_id).await {
Expand Down

0 comments on commit 5c17e8e

Please sign in to comment.