Skip to content

Commit 80f16ce

Browse files
committed
Allow CreatePSBT.ExplicitChangeAddress to be an hex script
1 parent fed67b3 commit 80f16ce

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

NBXplorer.Client/Models/CreatePSBTRequest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class CreatePSBTRequest
7474
/// <summary>
7575
/// Use a specific change address (Optional, default: null, mutually exclusive with ReserveChangeAddress)
7676
/// </summary>
77-
public BitcoinAddress ExplicitChangeAddress { get; set; }
77+
public PSBTDestination ExplicitChangeAddress { get; set; }
7878

7979
/// <summary>
8080
/// Rebase the hdkey paths (if no rebase, the key paths are relative to the xpub that NBXplorer knows about)

NBXplorer.Client/NBXplorer.Client.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.1</TargetFrameworks>
55
<Company>Digital Garage</Company>
6-
<Version>4.3.8</Version>
6+
<Version>4.3.9</Version>
77
<Copyright>Copyright © Digital Garage 2017</Copyright>
88
<Description>Client API for the minimalist HD Wallet Tracker NBXplorer</Description>
99
<PackageIcon>Bitcoin.png</PackageIcon>

NBXplorer/NBXplorer.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<OutputType>Exe</OutputType>
44
<TargetFramework Condition="'$(TargetFrameworkOverride)' == ''">net8.0</TargetFramework>
55
<TargetFramework Condition="'$(TargetFrameworkOverride)' != ''">$(TargetFrameworkOverride)</TargetFramework>
6-
<Version>2.5.19</Version>
6+
<Version>2.5.20</Version>
77
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\NBXplorer.xml</DocumentationFile>
88
<NoWarn>1701;1702;1705;1591;CS1591</NoWarn>
99
<LangVersion>12</LangVersion>

NBXplorer/wwwroot/api.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@
446446
},
447447
"explicitChangeAddress": {
448448
"type": "string",
449-
"description": "Optional. Use a specific change address. Mutually exclusive with 'reserveChangeAddress'. Default is null."
449+
"description": "Optional. Use a specific change address or script (in hex format). Mutually exclusive with 'reserveChangeAddress'. Default is null."
450450
},
451451
"minConfirmations": {
452452
"type": "integer",

0 commit comments

Comments
 (0)