Skip to content

getAddress bug #13

@dooglus

Description

@dooglus

What's this code trying to do?

    if ($vinvout == 1)
        $vinvout = 0;
    else
        $vinvout = 1;

    $address = $transactionin['vout'][!$vinvout]['scriptPubKey']['addresses'][0];
    return $address;

It results in the wrong vout being used for any vinvout > 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions