Skip to content

Unable to use wally_tx_get_input_signature_hash from Java #502

@araspitzu

Description

@araspitzu

Since release 1.4.0 I noticed the deprecation flag on several sighash calls and I started migrating to the new tx_get_input_signature_hash however I'm unable to make it work from Java via the JNI interface, every call results in a wally_map error. I've looked into the tests to see if I was doing something wrong and ended up recreating the taproot sighash test found in test_transaction.py in java and it still fails. I made two snippets for easy comparison of the test code java test and python test. Am I using the interface incorrectly? Note that I'm able to use Wally maps from java in another call tx_get_btc_taproot_signature_hash without issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions