diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2022-05-03 07:59:24 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2022-05-03 07:59:24 +0200 |
| commit | 2cf5f650b8fdbd1992f3d65ad6e102087e74f896 (patch) | |
| tree | 7c501fcd82b33a6203cb6b55c4820d698c1d83e5 /src/cmd | |
| parent | 1c13a451bc2e56ce8531d5da683a3c7aa6d4d887 (diff) | |
Use Rust Secp256k1 implementation from RustCrypto project (#92)
This PR ports `hdwallet` to use the `k256` crate - a native Rust implementation of secp256k1 elliptic curve and ECDSA signing.
The motivation for this change is that we can just use the `wasm32-wasi` Rust target without requiring a WASI C toolchain! Notice that the CI no longer requires installing the WASI SDK in order to build the WASI target.
Diffstat (limited to 'src/cmd')
| -rw-r--r-- | src/cmd/public_key.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/public_key.rs b/src/cmd/public_key.rs index 360255b..1f724ba 100644 --- a/src/cmd/public_key.rs +++ b/src/cmd/public_key.rs @@ -19,7 +19,7 @@ pub fn run(options: Options) -> Result<()> { .account .private_key()? .public() - .serialize_uncompressed() + .encode_uncompressed() ) ); Ok(()) |
