Skip to content

Commit 561e224

Browse files
committed
[infra-cli] key create : use default fc::ecc::private_key_shim
1 parent 7acb117 commit 561e224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programs/cleos/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2596,7 +2596,7 @@ int main( int argc, char** argv ) {
25962596
return;
25972597
}
25982598

2599-
auto pk = r1 ? private_key_type::generate_r1() : private_key_type::generate();
2599+
auto pk = r1 ? private_key_type::generate_r1() : private_key_type::generate<fc::ecc::private_key_shim>();
26002600
auto privs = pk.to_string();
26012601
auto pubs = pk.get_public_key().to_string();
26022602
if (print_console) {

0 commit comments

Comments
 (0)