File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,8 @@ export enum AccountAuthenticatorVariant {
156156/**
157157 * Variants of private keys that can comply with the AIP-80 standard.
158158 * {@link https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md}
159+ *
160+ * Note: This must match the AIP-80 strings defined in the Rust `aptos-crypto` crate.
159161 */
160162export enum PrivateKeyVariants {
161163 Ed25519 = "ed25519" ,
@@ -189,7 +191,7 @@ export function anyPublicKeyVariantToString(variant: AnyPublicKeyVariant): strin
189191 case AnyPublicKeyVariant . FederatedKeyless :
190192 return "federated_keyless" ;
191193 case AnyPublicKeyVariant . SlhDsaSha2128s :
192- return "slh-dsa-sha2-128s " ;
194+ return "slh_dsa_sha2_128s " ;
193195 default :
194196 throw new Error ( "Unknown public key variant" ) ;
195197 }
You can’t perform that action at this time.
0 commit comments