Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get public key from pay-to-witness-pubkey-hash transaction #1

Closed
peacekeeper opened this issue May 11, 2020 · 3 comments
Closed

Get public key from pay-to-witness-pubkey-hash transaction #1

peacekeeper opened this issue May 11, 2020 · 3 comments

Comments

@peacekeeper
Copy link
Member

The library currently doesn't support looking up a public key from a pay-to-witness-pubkey-hash transaction:

BitcoinConnection bc = new BTCDRPCBitcoinConnection();
ChainAndLocationData cld = ChainAndLocationData.txrefDecode("txtest1:8uny-frpq-qpqq-p295-cs");
ChainAndTxid ctid = bc.lookupChainAndTxid(cld);
System.out.println(bc.getDidBtcrData(ctid));

Result: null

@peacekeeper
Copy link
Member Author

Should be fixed by b5ce142 and 2641188. Closing..

@peacekeeper
Copy link
Member Author

Thanks to @cihanss for helping with this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant