Skip to content

Commit 03f8823

Browse files
Add BitcoinGetBlockHeaders (#615)
1 parent 3f4cbcb commit 03f8823

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

ic-utils/src/interfaces/management_canister.rs

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ pub enum MgmtMethod {
8989
BitcoinSendTransaction,
9090
/// There is no corresponding agent function as only canisters can call it. Use [`BitcoinCanister`](super::BitcoinCanister) instead.
9191
BitcoinGetCurrentFeePercentiles,
92+
/// There is no corresponding agent function as only canisters can call it. Use [`BitcoinCanister`](super::BitcoinCanister) instead.
93+
BitcoinGetBlockHeaders,
9294
/// There is no corresponding agent function as only canisters can call it.
9395
NodeMetricsHistory,
9496
}

icx/src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ pub fn get_effective_canister_id(
323323
| MgmtMethod::BitcoinGetUtxos
324324
| MgmtMethod::BitcoinSendTransaction
325325
| MgmtMethod::BitcoinGetCurrentFeePercentiles
326+
| MgmtMethod::BitcoinGetBlockHeaders
326327
| MgmtMethod::EcdsaPublicKey
327328
| MgmtMethod::SignWithEcdsa
328329
| MgmtMethod::NodeMetricsHistory => {

0 commit comments

Comments
 (0)