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 @@ -149,6 +149,8 @@ export enum AccountAuthenticatorVariant {
149149/**
150150 * Variants of private keys that can comply with the AIP-80 standard.
151151 * {@link https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md}
152+ *
153+ * Note: This must match the AIP-80 strings defined in the Rust `aptos-crypto` crate.
152154 */
153155export enum PrivateKeyVariants {
154156 Ed25519 = "ed25519" ,
@@ -182,7 +184,7 @@ export function anyPublicKeyVariantToString(variant: AnyPublicKeyVariant): strin
182184 case AnyPublicKeyVariant . FederatedKeyless :
183185 return "federated_keyless" ;
184186 case AnyPublicKeyVariant . SlhDsaSha2128s :
185- return "slh-dsa-sha2-128s " ;
187+ return "slh_dsa_sha2_128s " ;
186188 default :
187189 throw new Error ( "Unknown public key variant" ) ;
188190 }
You can’t perform that action at this time.
0 commit comments