returns forfeitsTxs in Ping RPC while the finalization started (#161)

This commit is contained in:
Louis Singer
2024-04-29 18:58:11 +02:00
committed by GitHub
parent 4ef35c8d26
commit dc64947d28
7 changed files with 226 additions and 182 deletions

View File

@@ -110,7 +110,7 @@ func (m *paymentsMap) updatePingTimestamp(id string) error {
payment, ok := m.payments[id]
if !ok {
return fmt.Errorf("payment %s not found", id)
return errPaymentNotFound{id}
}
payment.pingTimestamp = time.Now()