Skip to content

Commit 56b6b79

Browse files
committed
Make MultiPathNode.Parse public
1 parent e45c3a6 commit 56b6b79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

NBitcoin/NBitcoin.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<RepositoryType>git</RepositoryType>
1313
</PropertyGroup>
1414
<PropertyGroup>
15-
<Version Condition=" '$(Version)' == '' ">8.0.6</Version>
15+
<Version Condition=" '$(Version)' == '' ">8.0.7</Version>
1616
<LangVersion>12.0</LangVersion>
1717
</PropertyGroup>
1818
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">

NBitcoin/WalletPolicies/MiniscriptNode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,13 +532,13 @@ public PubKey GetAggregatePubKey()
532532
/// <param name="ShortForm">If &lt;0;1&gt;/* path should be be noted /** instead</param>
533533
public record MultipathNode(int DepositIndex, int ChangeIndex, MiniscriptNode Target, bool ShortForm) : MiniscriptNode
534534
{
535-
internal static MultipathNode Parse(string str, Network network)
535+
public static MultipathNode Parse(string str, Network network)
536536
{
537537
if (TryParse(str, network, out var node))
538538
return node;
539539
throw new FormatException("Invalid MultipathNode");
540540
}
541-
internal static bool TryParse(string str, Network network, [MaybeNullWhen(false)] out MultipathNode node)
541+
public static bool TryParse(string str, Network network, [MaybeNullWhen(false)] out MultipathNode node)
542542
{
543543
ArgumentNullException.ThrowIfNull(str);
544544
ArgumentNullException.ThrowIfNull(network);

0 commit comments

Comments
 (0)