Skip to content

Commit 422ed15

Browse files
committed
stats: include 0 fee coinjoins (by my_input_count)
1 parent 59f6d49 commit 422ed15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ function feereport() {
180180
while read -r timestamp cj_amount_satoshi my_input_count my_input_value_satoshi cjfee_satoshi earned_satoshi confirm_time_min notes
181181
do
182182
unixtimeEvent=$(date -d "$timestamp" +%s 2>/dev/null)
183-
if [ "$earned_satoshi" -gt 0 ]; then
183+
if [ "$my_input_count" -gt 0 ]; then
184184
allEarned=$(( allEarned + earned_satoshi ))
185185
allCoinjoins=$(( allCoinjoins + 1 ))
186186
if [ "$unixtimeEvent" -gt "$unixtimeMonthAgo" ]; then

0 commit comments

Comments
 (0)