Fix build and some warnings #327
Annotations
20 warnings
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L73
Non-nullable property 'Identifier' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L74
Non-nullable property 'TxId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L75
Non-nullable property 'SpentScripts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L76
Non-nullable property 'ReceivedScripts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L92
Non-nullable property 'Txs' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L93
Non-nullable property 'BlockHeaders' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L94
Non-nullable property 'BlockHeghts' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L82
Non-nullable property 'Identifier' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L84
Non-nullable property 'Script' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
submodules/btcpayserver/BTCPayApp.CommonServer/IBTCPayAppHubClient.cs#L85
Non-nullable property 'Outpoint' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/API/ResultOverrideFilter.cs#L8
'ResultOverrideFilter.OnResultExecuted(ResultExecutedContext)' hides inherited member 'ResultFilterAttribute.OnResultExecuted(ResultExecutedContext)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/API/ResultOverrideFilter.cs#L12
'ResultOverrideFilter.OnResultExecuting(ResultExecutingContext)' hides inherited member 'ResultFilterAttribute.OnResultExecuting(ResultExecutingContext)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/Hosting/BTCPayServerServices.cs#L409
'UIExtension.UIExtension(string, string)' is obsolete: 'Use extension method BTCPayServer.Extensions.AddUIExtension(this IServiceCollection services, string location, string partialViewName) instead'
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/BTCPayAppLightningClient.cs#L101
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.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/BTCPayAppLightningClient.cs#L176
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.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/BTCPayAppLightningClient.cs#L182
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.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/BTCPayAppLightningClient.cs#L187
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.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/BTCPayAppLightningClient.cs#L198
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.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/API/ProtobufInputFormatter.cs#L17
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.
|
Start BTCPay:
submodules/btcpayserver/BTCPayServer/App/Exts.cs#L19
Possible null reference return.
|
Loading