diff --git a/coin_flags/bip_slip_coin_number.go b/coin_flags/bip_slip_coin_number.go index 15436a4..11cf202 100644 --- a/coin_flags/bip_slip_coin_number.go +++ b/coin_flags/bip_slip_coin_number.go @@ -22,7 +22,9 @@ const ( BIP_SLIP_CoinNumber_DogmCoin = 1 //not found dogm slip BIP_SLIP_CoinNumber_Earthcoin = 1 // ?=earths 406 BIP_SLIP_CoinNumber_Dingocoin = 1 //not found dingo slip - BIP_SLIP_CoinNumber_Luckycoin = 1 //not found dingo slip + BIP_SLIP_CoinNumber_Luckycoin = 1 //not found lky slip + BIP_SLIP_CoinNumber_Junkcoin = 1 //not found jkc slip + ) // GetBIPSLIPCoinNumber @@ -67,6 +69,8 @@ func (cf CoinFlag) GetBIPSLIPCoinNumber() uint32 { return BIP_SLIP_CoinNumber_Dingocoin case CoinFlagLKY: return BIP_SLIP_CoinNumber_Luckycoin + case CoinFlagJKC: + return BIP_SLIP_CoinNumber_Junkcoin default: return BIP_SLIP_CoinNumber_BitCoinTestNet } diff --git a/coin_flags/coin_flags.go b/coin_flags/coin_flags.go index ab0ba7f..daa2037 100644 --- a/coin_flags/coin_flags.go +++ b/coin_flags/coin_flags.go @@ -92,6 +92,8 @@ func (cf CoinFlag) CoinName() string { return "DINGO" case CoinFlagLKY: return "LKY" + case CoinFlagJKC: + return "JKC" default: return "none" } diff --git a/coin_flags/util.go b/coin_flags/util.go index 2d4c7bc..b4e7ffe 100644 --- a/coin_flags/util.go +++ b/coin_flags/util.go @@ -45,7 +45,7 @@ func GetCoinFlagByCoinName(name string) CoinFlag { case "Luckycoin", "LuckyCoin", "luckyCoin", "luckycoin", "LUCKYCOIN", "LKY", "Lky", "lky": return CoinFlagLKY case "Junkcoin", "JunkCoin", "junkCoin", "junkcoin", "JUNKCOIN", "JKC", "Jkc", "jkc": - return CoinFlagLKY + return CoinFlagJKC default: return CoinFlagNone }