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

Wrong expiration return address while sending native tokens #130

@lzpap

Description

@lzpap

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

image

Version

Which version of the CLI are you using?

  • alpha.7

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions