Skip to content

Commit cac54ca

Browse files
authored
Merge pull request #151 from movementlabsxyz/0xmovses/update-core-assertion
fix: remove false assertion for movement networks
2 parents 4c91658 + b231f98 commit cac54ca

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

aptos-move/framework/aptos-framework/sources/aptos_governance.move

-2
Original file line numberDiff line numberDiff line change
@@ -699,8 +699,6 @@ module aptos_framework::aptos_governance {
699699
public fun get_signer_testnet_only(
700700
core_resources: &signer, signer_address: address): signer acquires GovernanceResponsbility {
701701
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));
704702
get_signer(signer_address)
705703
}
706704

0 commit comments

Comments
 (0)