Skip to content

Commit

Permalink
correct limit for get_confirmed_coins
Browse files Browse the repository at this point in the history
  • Loading branch information
tamasblummer committed Aug 23, 2019
1 parent 6d27c1a commit 7f5e83f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coins.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,6 @@ impl Coins {
None
}
}
).take_while(move |(_,d)| {sum += d.output.value; sum < minimum}).collect()
).take_while(move |(_,d)| {sum += d.output.value; sum <= minimum}).collect()
}
}

0 comments on commit 7f5e83f

Please sign in to comment.