Payment amounts in sats

This commit is contained in:
2023-08-31 14:24:19 +01:00
parent 31144cffa3
commit 6fbf3fd229

View File

@ -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()
});