Skip to content

Commit 859e0ab

Browse files
Destination Tag as unsigned integer (#23)
1 parent 294e188 commit 859e0ab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/XUMM.NET.SDK/Models/Payload/XRPL/XrplPaymentTransaction.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class XrplPaymentTransaction : XrplTransaction
1313
/// <param name="destination">The unique address of the account receiving the payment.</param>
1414
/// <param name="destinationTag">(Optional) Arbitrary tag that identifies the reason for the payment to the destination, or a hosted recipient to pay.</param>
1515
/// <param name="fee">Integer amount of XRP, in drops, to be destroyed as a cost for distributing this transaction to the network.</param>
16-
public XrplPaymentTransaction(string destination, int? destinationTag, int fee) : this()
16+
public XrplPaymentTransaction(string destination, uint? destinationTag, int fee) : this()
1717
{
1818
Destination = destination;
1919
DestinationTag = destinationTag;
@@ -39,7 +39,7 @@ public XrplPaymentTransaction()
3939
/// <summary>
4040
/// (Optional) Arbitrary tag that identifies the reason for the payment to the destination, or a hosted recipient to pay.
4141
/// </summary>
42-
public int? DestinationTag { get; set; }
42+
public uint? DestinationTag { get; set; }
4343

4444
/// <summary>
4545
/// (Optional) Arbitrary 256-bit hash representing a specific reason or identifier for this payment.

src/XUMM.NET.SDK/Models/Payload/XummPayloadDetailsPayloadResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class XummPayloadDetailsPayloadResponse
1313
public string TxDestination { get; set; } = default!;
1414

1515
[JsonPropertyName("tx_destination_tag")]
16-
public int? TxDestinationTag { get; set; }
16+
public uint? TxDestinationTag { get; set; }
1717

1818
[JsonPropertyName("request_json")]
1919
public JsonDocument RequestJson { get; set; } = default!;

0 commit comments

Comments
 (0)