Skip to content

Commit c1acef0

Browse files
committed
Added expiration into api
1 parent 4bbd121 commit c1acef0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

csharp/IotaWalletNet/IotaWalletNet.Application/Common/Builders/SendMicroAmountBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ public SendMicroAmountBuilder(IMediator mediator, IAccount account, string usern
2222
_username = username;
2323
}
2424

25-
public SendMicroAmountBuilder AddAddressAndAmount(string receiverAddress, ulong amountInGlow)
25+
public SendMicroAmountBuilder AddAddressAndAmount(string receiverAddress, ulong amountInGlow, ulong expirationInSeconds)
2626
{
27-
AddressWithMicroAmount addressWithMicroAmount = new AddressWithMicroAmount(receiverAddress, amountInGlow.ToString(), expiration:0);
27+
AddressWithMicroAmount addressWithMicroAmount = new AddressWithMicroAmount(receiverAddress, amountInGlow.ToString(), expirationInSeconds);
2828
_addressWithMicroAmounts.Add(addressWithMicroAmount);
2929

3030
return this;

0 commit comments

Comments
 (0)