Skip to content

Commit

Permalink
Add BitcoinGetBlockHeaders (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamspofford-dfinity authored Nov 6, 2024
1 parent 3f4cbcb commit 03f8823
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ic-utils/src/interfaces/management_canister.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down
1 change: 1 addition & 0 deletions icx/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ pub fn get_effective_canister_id(
| MgmtMethod::BitcoinGetUtxos
| MgmtMethod::BitcoinSendTransaction
| MgmtMethod::BitcoinGetCurrentFeePercentiles
| MgmtMethod::BitcoinGetBlockHeaders
| MgmtMethod::EcdsaPublicKey
| MgmtMethod::SignWithEcdsa
| MgmtMethod::NodeMetricsHistory => {
Expand Down

0 comments on commit 03f8823

Please sign in to comment.