fix(monitoring): warn and continue on wallet 7006 (no denoms)
This commit is contained in:
parent
e3d03edb71
commit
f9e3b7a515
1 changed files with 11 additions and 5 deletions
|
|
@ -291,12 +291,18 @@ for AMT in "$@"; do
|
|||
ok "accept-uri $AMT ${ms_accept}ms"
|
||||
else
|
||||
ms_accept=$(elapsed_ms "$t0")
|
||||
note="accept-uri failed: $(tail -c 160 "$SCRATCH/accept-$tag.out" | tr '\n' ' ')"
|
||||
note="accept-uri failed: $(tail -c 200 "$SCRATCH/accept-$tag.out" | tr '\n' ' ')"
|
||||
ms_total=$(elapsed_ms "$t_rung")
|
||||
# Wallet 7006: no denominations for this amount (0, sub-denom dust, etc.) — warn & continue
|
||||
if [ "$IS_ZERO" = "1" ] || grep -qE 'code: 7006|"code"[[:space:]]*:[[:space:]]*7006|No denominations could be selected' \
|
||||
"$SCRATCH/accept-$tag.out" 2>/dev/null; then
|
||||
if [ "$IS_ZERO" = "1" ]; then
|
||||
# GOA:0 often has no denominations — probe only, do not stop the ladder
|
||||
status="ZERO_SKIP"
|
||||
note="zero-withdraw skip (no denoms / accept failed): $note"
|
||||
note="zero-withdraw skip (7006 / no denoms): $note"
|
||||
else
|
||||
status="SKIP_DENOM"
|
||||
note="skip amount (wallet 7006 no denoms): $note"
|
||||
fi
|
||||
warn wallet "accept $AMT" "$note"
|
||||
echo -e "${rung}\t${range_note}\t${AMT}\t${status}\t${ms_mint}\t${ms_accept}\t${ms_confirm}\t${ms_settle}\t${ms_total}\t${WID}\t${note}" >>"$TSV"
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue