diff --git a/ic-utils/src/interfaces/management_canister.rs b/ic-utils/src/interfaces/management_canister.rs index ffdf2420..7b194f8b 100644 --- a/ic-utils/src/interfaces/management_canister.rs +++ b/ic-utils/src/interfaces/management_canister.rs @@ -89,6 +89,8 @@ pub enum MgmtMethod { BitcoinSendTransaction, /// There is no corresponding agent function as only canisters can call it. Use [`BitcoinCanister`](super::BitcoinCanister) instead. BitcoinGetCurrentFeePercentiles, + /// There is no corresponding agent function as only canisters can call it. Use [`BitcoinCanister`](super::BitcoinCanister) instead. + BitcoinGetBlockHeaders, /// There is no corresponding agent function as only canisters can call it. NodeMetricsHistory, } diff --git a/icx/src/main.rs b/icx/src/main.rs index 31ddb3a0..d6ab7c3f 100644 --- a/icx/src/main.rs +++ b/icx/src/main.rs @@ -323,6 +323,7 @@ pub fn get_effective_canister_id( | MgmtMethod::BitcoinGetUtxos | MgmtMethod::BitcoinSendTransaction | MgmtMethod::BitcoinGetCurrentFeePercentiles + | MgmtMethod::BitcoinGetBlockHeaders | MgmtMethod::EcdsaPublicKey | MgmtMethod::SignWithEcdsa | MgmtMethod::NodeMetricsHistory => {