diff --git a/aptos-move/framework/aptos-framework/doc/keyless_account.md b/aptos-move/framework/aptos-framework/doc/keyless_account.md index 2d8d84d1aaf56..6a5ec753b84b3 100644 --- a/aptos-move/framework/aptos-framework/doc/keyless_account.md +++ b/aptos-move/framework/aptos-framework/doc/keyless_account.md @@ -548,7 +548,6 @@ WARNING: If a malicious key is set, this would lead to stolen funds.
public fun set_groth16_verification_key_for_next_epoch(fx: &signer, vk: Groth16VerificationKey) {
system_addresses::assert_aptos_framework(fx);
- validate_groth16_vk(&vk);
config_buffer::upsert<Groth16VerificationKey>(vk);
}
diff --git a/aptos-move/framework/aptos-framework/sources/keyless_account.move b/aptos-move/framework/aptos-framework/sources/keyless_account.move
index d215202f4047b..269c209b228b9 100644
--- a/aptos-move/framework/aptos-framework/sources/keyless_account.move
+++ b/aptos-move/framework/aptos-framework/sources/keyless_account.move
@@ -195,7 +195,6 @@ module aptos_framework::keyless_account {
/// WARNING: If a malicious key is set, this would lead to stolen funds.
public fun set_groth16_verification_key_for_next_epoch(fx: &signer, vk: Groth16VerificationKey) {
system_addresses::assert_aptos_framework(fx);
- validate_groth16_vk(&vk);
config_buffer::upsert