We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c91658 + b231f98 commit cac54caCopy full SHA for cac54ca
aptos-move/framework/aptos-framework/sources/aptos_governance.move
@@ -699,8 +699,6 @@ module aptos_framework::aptos_governance {
699
public fun get_signer_testnet_only(
700
core_resources: &signer, signer_address: address): signer acquires GovernanceResponsbility {
701
system_addresses::assert_core_resource(core_resources);
702
- // Core resources account only has mint capability in tests/testnets.
703
- assert!(aptos_coin::has_mint_capability(core_resources), error::unauthenticated(EUNAUTHORIZED));
704
get_signer(signer_address)
705
}
706
0 commit comments