Fix 2.0 warnings and errors

This commit is contained in:
nicolas.dorier
2024-10-27 22:28:45 +09:00
parent b2f2054c23
commit 8a90b11d74
18 changed files with 32 additions and 48 deletions

View File

@@ -620,7 +620,7 @@ public class MicroNodeService : EventHostedServiceBase
}
var payout = await _pullPaymentHostedService.Claim(new ClaimRequest()
{
Value = LightMoney.MilliSatoshis(balance.MilliSatoshi).ToDecimal(LightMoneyUnit.BTC),
ClaimedAmount = LightMoney.MilliSatoshis(balance.MilliSatoshi).ToDecimal(LightMoneyUnit.BTC),
StoreId = masterClients.Key,
Destination = new LNURLPayClaimDestinaton(destination),
PreApprove = true,