Skip to content

Commit

Permalink
Merge pull request #234 from starknet-id/fix/balance-tasks-returning-…
Browse files Browse the repository at this point in the history
…text-with-nimbora

fix: balance tasks returning text with nimbora
  • Loading branch information
Th0rgal authored Jul 24, 2024
2 parents 2f8e5f2 + 0212155 commit 8277303
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 @@ -69,7 +69,7 @@ pub async fn handler(
match call_result {
Ok(result) => {
if result[0] < FieldElement::from_dec_str("3000000000000000").unwrap() {
get_error("You didn't invest on nimbora.".to_string())
get_error("You didn't invest (enough).".to_string())
} else {
match state.upsert_completed_task(query.addr, task_id).await {
Ok(_) => (StatusCode::OK, Json(json!({"res": true}))).into_response(),
Expand Down

0 comments on commit 8277303

Please sign in to comment.