Update NBitcoin, fix warnings on nullable (#2718)

This commit is contained in:
Nicolas Dorier
2021-07-29 20:29:34 +09:00
committed by GitHub
parent 499a231432
commit 6ea96efe68
22 changed files with 97 additions and 72 deletions

View File

@@ -47,7 +47,7 @@ namespace BTCPayServer
if (str == null)
throw new ArgumentNullException(nameof(str));
str = str.Trim();
var outputDescriptor = OutputDescriptor.Parse(str);
var outputDescriptor = OutputDescriptor.Parse(str, Network);
switch(outputDescriptor)
{
case OutputDescriptor.PK _: