Skip to content

Commit

Permalink
Merge pull request #231 from starknet-id/feat/better-balance-amount
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal authored Jul 18, 2024
2 parents 1bee3c5 + 5c17e8e commit 5138e3b
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 5138e3b

Please sign in to comment.