mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-20 13:34:37 +01:00
Bugfixing amount in invoice data, we need to set Satoshis
This commit is contained in:
parent
66ecb32538
commit
89d9658e82
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ namespace BTCPayServer.Payments.Lightning.Lnd
|
|||
{
|
||||
// TODO: Verify id corresponds to R_hash
|
||||
Id = BitString(resp.R_hash),
|
||||
Amount = resp.Value,
|
||||
Amount = new LightMoney(ConvertInv.ToInt64(resp.Value), LightMoneyUnit.Satoshi),
|
||||
BOLT11 = resp.Payment_request,
|
||||
Status = "unpaid"
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue