From 6fbf3fd229af086779799fcb2c1ce8a78f40ebac Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 31 Aug 2023 14:24:19 +0100 Subject: [PATCH] Payment amounts in sats --- NostrStreamer/Services/UserService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NostrStreamer/Services/UserService.cs b/NostrStreamer/Services/UserService.cs index 0da33a8..e5014ac 100644 --- a/NostrStreamer/Services/UserService.cs +++ b/NostrStreamer/Services/UserService.cs @@ -38,7 +38,7 @@ public class UserService PubKey = pubkey, Type = PaymentType.Credit, IsPaid = true, - Amount = (ulong)user.Balance, + Amount = (ulong)user.Balance / 1000, PaymentHash = SHA256.HashData(Encoding.UTF8.GetBytes($"{pubkey}-init-credit")).ToHex() });