Fix build warnings #80
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build linux x64:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L143
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
Build linux x64:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L150
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
Build linux x64:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L231
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
Build linux x64:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L270
Nullability of reference types in value of type 'Dictionary<string, DerivationItem>' doesn't match target type 'Dictionary<string, DerivationItem?>'.
|
Build linux x64:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L340
Possible null reference argument for parameter 'source' in 'bool Enumerable.Contains<string?>(IEnumerable<string?> source, string? value)'.
|
Build linux x64:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L477
Possible null reference argument for parameter 'str' in 'OutPoint OutPoint.Parse(string str)'.
|
Build linux x64:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L478
Possible null reference argument for parameter 'hex' in 'Script Script.FromHex(string hex)'.
|
Build linux x64:
BTCPayApp.Core/Wallet/OnChainWalletManager.cs#L523
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build linux x64:
BTCPayApp.Core/Wallet/LightningNodeService.cs#L84
Dereference of a possibly null reference.
|
Build linux x64:
BTCPayApp.Core/Wallet/LightningNodeService.cs#L90
Dereference of a possibly null reference.
|
Loading