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.
1 parent 62de55f commit 6e51147Copy full SHA for 6e51147
crates/chain/tests/common/mod.rs
@@ -1,3 +1,13 @@
1
+#[allow(unused_macros)]
2
+macro_rules! block_id {
3
+ ($height:expr, $hash:literal) => {{
4
+ bdk_chain::BlockId {
5
+ height: $height,
6
+ hash: bitcoin::hashes::Hash::hash($hash.as_bytes()),
7
+ }
8
+ }};
9
+}
10
+
11
#[allow(unused_macros)]
12
macro_rules! h {
13
($index:literal) => {{
0 commit comments