mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Enabled and fixed compiler warnings. (#359)
This commit is contained in:
@@ -29,10 +29,10 @@ namespace crypto
|
||||
// Currently using ed25519. So append prefix byte to represent that.
|
||||
|
||||
pubkey.resize(crypto_sign_ed25519_PUBLICKEYBYTES + 1);
|
||||
pubkey[0] = KEYPFX_ed25519;
|
||||
pubkey[0] = crypto::KEYPFX_ed25519;
|
||||
|
||||
seckey.resize(crypto_sign_ed25519_SECRETKEYBYTES + 1);
|
||||
seckey[0] = KEYPFX_ed25519;
|
||||
seckey[0] = crypto::KEYPFX_ed25519;
|
||||
|
||||
crypto_sign_ed25519_keypair(
|
||||
reinterpret_cast<unsigned char *>(pubkey.data() + 1), // +1 to skip the prefix byte.
|
||||
|
||||
Reference in New Issue
Block a user