Skip to content

Commit

Permalink
Fix log on payment not found
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh0 committed Oct 16, 2023
1 parent 1aa955e commit facb6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paymentsmanager/payments_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (pm *PaymentsManager) ValidateVoucher(voucherHash common.Hash, signerAddres
}

// Retry after an interval if voucher not found
slog.Info("Payment from %s not found, retrying after %d sec...", signerAddress, DEFAULT_VOUCHER_CHECK_INTERVAL)
slog.Info("Payment not found, retrying...", "payer", signerAddress, "retryInterval", DEFAULT_VOUCHER_CHECK_INTERVAL)
time.Sleep(DEFAULT_VOUCHER_CHECK_INTERVAL * time.Second)
}

Expand Down

0 comments on commit facb6ec

Please sign in to comment.