mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-17 20:10:03 +02:00
src/libsecp256k1/ec.cpp: ec_generate_key() should return 0 on success.
This commit is contained in:
parent
f920c7edee
commit
78d90b622e
1 changed files with 1 additions and 2 deletions
|
|
@ -44,7 +44,6 @@ void ec_shutdown() {
|
|||
|
||||
int ec_generate_key(struct ec_keypair *pair) {
|
||||
|
||||
int ret = -1;
|
||||
size_t len;
|
||||
secp256k1_pubkey pub;
|
||||
unsigned char seckey[32];
|
||||
|
|
@ -78,7 +77,7 @@ int ec_generate_key(struct ec_keypair *pair) {
|
|||
return -1;
|
||||
}
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
} // namespace libeosio
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue