mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 08:08:11 +00:00
switch to decode_base16() per William Swanson (s_tec)'s comment.
This commit is contained in:
parent
7d9322818b
commit
d44f6aaf92
@ -4,7 +4,7 @@ int main()
|
||||
{
|
||||
// Private secret key.
|
||||
bc::ec_secret secret;
|
||||
bool success = bc::decode_hash(secret,
|
||||
bool success = bc::decode_base16(secret,
|
||||
"038109007313a5807b2eccc082c8c3fbb988a973cacf1a7df9ce725c31b14776");
|
||||
assert(success);
|
||||
// Get public key.
|
||||
|
Loading…
Reference in New Issue
Block a user