Skip to content

Commit f8d482e

Browse files
committed
stl: fix lib name for AddressPlayload
1 parent a3b3a59 commit f8d482e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

invoice/src/address.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,8 @@ impl FromStr for Address {
285285
#[cfg_attr(
286286
feature = "strict_encoding",
287287
derive(StrictType, StrictDumb, StrictEncode, StrictDecode),
288-
strict_type(lib = "BPCore", tags = custom, dumb = Self::Pkh(strict_dumb!()))
288+
// This type should not be included in any library
289+
strict_type(lib = "_", tags = custom, dumb = Self::Pkh(strict_dumb!()))
289290
)]
290291
pub enum AddressPayload {
291292
/// P2PKH payload.

0 commit comments

Comments
 (0)