From 15d0d7bf9883e7bde59c3603ed70930dd67a3777 Mon Sep 17 00:00:00 2001 From: d11n Date: Mon, 5 Dec 2022 13:23:37 +0100 Subject: [PATCH] Remove "3 pubkeys in top level multisig" limit --- NBitcoin/Scripting/OutputDescriptorParser.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/NBitcoin/Scripting/OutputDescriptorParser.cs b/NBitcoin/Scripting/OutputDescriptorParser.cs index 6913258d08..d809589552 100644 --- a/NBitcoin/Scripting/OutputDescriptorParser.cs +++ b/NBitcoin/Scripting/OutputDescriptorParser.cs @@ -281,11 +281,6 @@ private static bool TryParseOD(string str, Network network, out string? whyFailu return false; } result = res.Value; - if (result is OutputDescriptor.Multi multi && multi.PkProviders.Count > 3) - { - whyFailure = "You can not have more than 3 pubkeys in top level multisig."; - return false; - } return true; } internal static OutputDescriptor ParseOD(string str, Network network, bool requireCheckSum = false, ISigningRepository? repo = null)