This repository was archived by the owner on May 20, 2025. It is now read-only.

Description
Bug description
The wallet produces the wrong output when sending native tokens with SDRUC and Expiration.
Example:
I've executed the follwoing command:
send-native-token rms1qrut5ajyfrtgjs325kd9chwfwyyy2z3fewy4vgy0vvdtf2pr8prg5u3zwjn 0x0861ba1f25d33a4261c8af09edc325d2e6605b1cb2ea3199256131daa56cc40abc0100000000 1000000
My wallet produced the following trasnaction: https://explorer.alphanet.iotaledger.net/alphanet/transaction/0x07c998c7e0fbbfbaaa6d9817d9a9a6b0df3413910f9e5ce32622acfe18a8b213
The first output (0x07c998c7e0fbbfbaaa6d9817d9a9a6b0df3413910f9e5ce32622acfe18a8b2130000) of this transaction is the one that defines the SDRUC and Expiration conditions and puts the recipient address the Address Unlock.
Expected behavior:
- Address Unlock is the recipient:
rms1qrut5ajyfrtgjs325kd9chwfwyyy2z3fewy4vgy0vvdtf2pr8prg5u3zwjn
- SDRUC
Return address is the wallet's own address: rms1qr8zcma908zz45uzkxjdd8mx2scsmga5cvesm5fzdad2npmszl05g2wtn3l
- Expiration Unlock
return address is the wallet's own address: rms1qr8zcma908zz45uzkxjdd8mx2scsmga5cvesm5fzdad2npmszl05g2wtn3l
Actual behavior:
- Address Unlock is the recipient:
rms1qrut5ajyfrtgjs325kd9chwfwyyy2z3fewy4vgy0vvdtf2pr8prg5u3zwjn
- SDRUC
Return address is the wallet's own address: rms1qr8zcma908zz45uzkxjdd8mx2scsmga5cvesm5fzdad2npmszl05g2wtn3l
- Expiration Unlock
return address is the recipient: rms1qrut5ajyfrtgjs325kd9chwfwyyy2z3fewy4vgy0vvdtf2pr8prg5u3zwjn

Version
Which version of the CLI are you using?