Skip to content

Commit

Permalink
fix: map alby transaction amount as millisats
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Dec 15, 2023
1 parent e304dba commit 16b9757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alby.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 16b9757

Please sign in to comment.