Payment amounts in sats
This commit is contained in:
@ -38,7 +38,7 @@ public class UserService
|
|||||||
PubKey = pubkey,
|
PubKey = pubkey,
|
||||||
Type = PaymentType.Credit,
|
Type = PaymentType.Credit,
|
||||||
IsPaid = true,
|
IsPaid = true,
|
||||||
Amount = (ulong)user.Balance,
|
Amount = (ulong)user.Balance / 1000,
|
||||||
PaymentHash = SHA256.HashData(Encoding.UTF8.GetBytes($"{pubkey}-init-credit")).ToHex()
|
PaymentHash = SHA256.HashData(Encoding.UTF8.GetBytes($"{pubkey}-init-credit")).ToHex()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user