libbitcoin / libbitcoin-explorer

Bitcoin Command Line Tool
Other
600 stars 176 forks source link

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

Closed grondilu closed 2 years ago

grondilu commented 3 years ago

In example 5 :

$ bx hd-new -v 70615956 baadf00dbaadf00dbaadf00dbaadf00d
tpubD6NzVbkrYhZ4XbUpwb3JpXFpXXa8CrP8cTkqzrnsnPV6Z1v3C15HRcUquADA8CMEawvRMMGoKnwg8fza8pPdFUcJH6uxZJJKkDYJJAGT53e

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

evoskuil commented 3 years ago

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

evoskuil commented 2 years ago

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