From 889b48999310e491c25c44b8eab98ddd4f9ea45e Mon Sep 17 00:00:00 2001
From: Lovesh Harchandani <lovesh@users.noreply.github.com>
Date: Wed, 9 Sep 2020 02:35:15 +0530
Subject: [PATCH] Add Dock network id for address generation (#6714)

Taking 21 and 22 for testnet and mainnet

Signed-off-by: lovesh <lovesh.bond@gmail.com>
---
 substrate/primitives/core/src/crypto.rs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/substrate/primitives/core/src/crypto.rs b/substrate/primitives/core/src/crypto.rs
index a8d84eb57cf..1e418c5c73f 100644
--- a/substrate/primitives/core/src/crypto.rs
+++ b/substrate/primitives/core/src/crypto.rs
@@ -467,6 +467,10 @@ ss58_address_format!(
 		(18, "darwinia", "Darwinia Chain mainnet, standard account (*25519).")
 	StafiAccount =>
 		(20, "stafi", "Stafi mainnet, standard account (*25519).")
+	DockTestAccount =>
+		(21, "dock-testnet", "Dock testnet, standard account (*25519).")
+	DockMainAccount =>
+		(22, "dock-mainnet", "Dock mainnet, standard account (*25519).")
 	ShiftNrg =>
 		(23, "shift", "ShiftNrg mainnet, standard account (*25519).")
 	SubsocialAccount =>
-- 
GitLab