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 b2884ae commit a7fef8cCopy full SHA for a7fef8c
sdk/pubkey/src/lib.rs
@@ -1,11 +1,11 @@
1
pub use five8_const::decode_32_const;
2
pub use pinocchio;
3
4
+// Convenience macro to define a static public key.
5
#[macro_export]
-#[deprecated(since = "0.1.1", note = "Please use `from_str` function instead.")]
6
macro_rules! declare_pubkey {
7
- ( $id:expr ) => {
8
- $crate::decode($id)
+ ( $id:literal ) => {
+ $crate::from_str($id)
9
};
10
}
11
0 commit comments