cashless2ecash

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

commit c4d303b5f14d387aa27a0412466179f84a6ff879
parent ae85603d9a9901195cde36e4a0e45f8986322822
Author: Joel-Haeberli <haebu@rubigen.ch>
Date:   Tue,  4 Jun 2024 16:07:41 +0200

fix: wire-gateway-api

Diffstat:
Mc2ec/api-wire-gateway.go | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/c2ec/api-wire-gateway.go b/c2ec/api-wire-gateway.go @@ -105,7 +105,7 @@ func NewIncomingReserveTransaction(w *Withdrawal) *IncomingReserveTransaction { } t.DebitAccount = client.FormatPayto(w) t.ReservePub = FormatEddsaPubKey(w.ReservePubKey) - t.RowId = int(w.WithdrawalRowId) + t.RowId = int(w.ConfirmedRowId) t.Type = INCOMING_RESERVE_TRANSACTION_TYPE return t } @@ -123,7 +123,7 @@ func NewOutgoingBankTransaction(tr *Transfer) *OutgoingBankTransaction { } t.CreditAccount = tr.CreditAccount t.ExchangeBaseUrl = tr.ExchangeBaseUrl - t.RowId = uint64(tr.RowId) + t.RowId = uint64(tr.TransferredRowId) t.Wtid = ShortHashCode(tr.Wtid) return t }