Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

IotaAPI#prepareTransfers does not consume remainder #14

Closed
@toonsevrin

Description

Just take a look at the source, it doesn't seem like the remainder parameter is ever used.
Reproduction is as simple as
String remainderAddress = ...; List<String> transfers = iotaAPI.prepareTransfers(seed, 2, transfers, remainderAddress, inputs); for(String trytes : transfers) System.out.println(remainderAddress.equals(new Transaction(trytes).getAddress());
this snippet will never return true as the remainderAddress is always generated!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions