cashless2ecash

cashless2ecash: pay with cards for digital cash (experimental)
Log | Files | Refs | README

commit f7ed6cf4cc2c2114008a01db4ee9298c07a865cf
parent fde725d3fe4544bc200c652e2088465c848a129b
Author: Joel-Haeberli <haebu@rubigen.ch>
Date:   Mon,  3 Jun 2024 20:40:50 +0200

fix: enhance logging

Diffstat:
Mc2ec/proc-transfer.go | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/c2ec/proc-transfer.go b/c2ec/proc-transfer.go @@ -4,7 +4,6 @@ import ( "context" "errors" "fmt" - "strings" "time" ) @@ -167,7 +166,7 @@ func executePendingTransfers(errs chan error, lastlog time.Time) { } LogInfo("proc-transfer", "refunding transaction "+tid) - err = client.Refund(strings.Trim(tid, " \n")) + err = client.Refund(tid) if err != nil { LogWarn("proc-transfer", "refunding using provider client failed") LogError("proc-transfer-4", err)