Skip to content

Commit

Permalink
Add SubstrateNetwork to AddressPrefix enum
Browse files Browse the repository at this point in the history
  • Loading branch information
doom committed May 31, 2024
1 parent 0c734ad commit 9e18c2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/tw_coin_entry/src/prefix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use crate::error::prelude::*;
#[derive(Clone)]
pub enum AddressPrefix {
Hrp(String),
SubstrateNetwork(u16),
}

/// A blockchain's address prefix should be convertable from an `AddressPrefix`.
Expand Down

0 comments on commit 9e18c2b

Please sign in to comment.