From 16b97571251f61915d0195428a487bf2600fcaec Mon Sep 17 00:00:00 2001 From: Roland Bewick Date: Fri, 15 Dec 2023 15:48:37 +0700 Subject: [PATCH] fix: map alby transaction amount as millisats --- alby.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alby.go b/alby.go index 8dc916fe..ca63a1f1 100644 --- a/alby.go +++ b/alby.go @@ -449,7 +449,7 @@ func (svc *AlbyOAuthService) ListTransactions(ctx context.Context, senderPubkey DescriptionHash: invoice.DescriptionHash, Preimage: invoice.Preimage, PaymentHash: invoice.PaymentHash, - Amount: invoice.Amount, + Amount: invoice.Amount * 1000, FeesPaid: 0, // TODO: support fees CreatedAt: invoice.CreatedAt, ExpiresAt: invoice.ExpiresAt,