Skip to content

Commit 4c760de

Browse files
committed
Fixed Runtime error in cosmwasm/Zero-to-hero example caused by lambda nesting issue reported in issue #1042
1 parent 1fc862d commit 4c760de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/cosmwasm/zero-to-hero/vote.qnt

+1-1
Original file line numberDiff line numberDiff line change
@@ -513,5 +513,5 @@ module state {
513513
// already submitted ballots in `ballots`, but `execute_vote` adjusts
514514
// the sum differently based on whether such a ballot is present.]
515515
val invAllBallotsPositive = query_all_polls(state).polls.listForall(poll =>
516-
poll.options.listForall(opt => opt._2 >= 0))
516+
poll.options.listForall2(opt => opt._2 >= 0))
517517
}

0 commit comments

Comments
 (0)