bugnotes, minor fix
This commit is contained in:
parent
1e685a0241
commit
8e9ce98661
@ -1537,6 +1537,7 @@ verify_reserve_balance (void *cls,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Check that reserve is being closed if it is past its expiration date */
|
/* Check that reserve is being closed if it is past its expiration date */
|
||||||
|
/* FIXME: need to consider closing_fee here! */
|
||||||
if ( (CLOSING_GRACE_PERIOD.rel_value_us >
|
if ( (CLOSING_GRACE_PERIOD.rel_value_us >
|
||||||
GNUNET_TIME_absolute_get_duration (
|
GNUNET_TIME_absolute_get_duration (
|
||||||
rs->a_expiration_date).rel_value_us) &&
|
rs->a_expiration_date).rel_value_us) &&
|
||||||
|
@ -754,7 +754,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
LOSS=`jq -er .bad_sig_losses[0].loss < test-audit.json`
|
LOSS=`jq -er .bad_sig_losses[0].loss < test-audit.json`
|
||||||
TOTAL_LOSS=`jq -e .total_bad_sig_loss < test-audit.json`
|
TOTAL_LOSS=`jq -er .total_bad_sig_loss < test-audit.json`
|
||||||
if test x$LOSS != x$TOTAL_LOSS
|
if test x$LOSS != x$TOTAL_LOSS
|
||||||
then
|
then
|
||||||
exit_fail "Loss inconsistent, got $LOSS and $TOTAL_LOSS"
|
exit_fail "Loss inconsistent, got $LOSS and $TOTAL_LOSS"
|
||||||
|
Loading…
Reference in New Issue
Block a user