libbitcoin/libbitcoin-explorer

hd-new returning a public key in one of the examples in the wiki

grondilu opened this issue · 2 comments

In example 5 :

$ bx hd-new -v 70615956 baadf00dbaadf00dbaadf00dbaadf00d
tpubD6NzVbkrYhZ4XbUpwb3JpXFpXXa8CrP8cTkqzrnsnPV6Z1v3C15HRcUquADA8CMEawvRMMGoKnwg8fza8pPdFUcJH6uxZJJKkDYJJAGT53e

Shouldn't it return a private key (tprv...) instead?

The test case is here. Looks like a cut/paste error in the wiki.

Resolved, was just a paste error into the wiki - thanks!
https://github.com/libbitcoin/libbitcoin-explorer/wiki/bx-hd-new