From 9e18c2bc8927d34579aa6bbb786b9b0a7ca35905 Mon Sep 17 00:00:00 2001 From: doom Date: Fri, 31 May 2024 23:26:11 +0200 Subject: [PATCH] Add SubstrateNetwork to AddressPrefix enum --- rust/tw_coin_entry/src/prefix.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/tw_coin_entry/src/prefix.rs b/rust/tw_coin_entry/src/prefix.rs index 942b7fec832..1428b70df71 100644 --- a/rust/tw_coin_entry/src/prefix.rs +++ b/rust/tw_coin_entry/src/prefix.rs @@ -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`.