mirror of
https://github.com/tappollo/bitcoinbook.git
synced 2026-01-12 17:03:00 +08:00
switch to decode_base16() per William Swanson (s_tec)'s comment.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user