1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-22 16:18:11 +00:00

switch to decode_base16() per William Swanson (s_tec)'s comment.

This commit is contained in:
Amir Taaki 2015-01-21 22:26:26 +01:00
parent 7d9322818b
commit d44f6aaf92

View File

@ -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.