Skip to content

Commit fe820bf

Browse files
Remove unused/dead chains!
1 parent aaa0132 commit fe820bf

File tree

3 files changed

+0
-26
lines changed

3 files changed

+0
-26
lines changed

SharpPusher/Models/Networks.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,5 @@ public enum Networks
2323
Stellar,
2424
Cardano,
2525
Mixin,
26-
Tezos,
27-
EOS,
28-
BitcoinABC
2926
}
3027
}

SharpPusher/Services/PushServices/Blockchair.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public enum Chain
4040
XLM,
4141
GRS,
4242
DASH,
43-
ABC
4443
}
4544

4645
private readonly Chain chain;
@@ -64,16 +63,13 @@ public async Task<Response> PushTx(string txHex)
6463
Chain.XMR => "monero",
6564
Chain.ADA => "cardano",
6665
Chain.BSV => "bitcoin-sv",
67-
Chain.EOS => "eos",
6866
Chain.ETH => "ethereum",
6967
Chain.ΤETH => "ethereum/testnet",
7068
Chain.XIN => "mixin",
7169
Chain.XLM => "stellar",
7270
Chain.XRP => "ripple",
73-
Chain.XTZ => "tezos",
7471
Chain.DASH => "dash",
7572
Chain.GRS => "groestlcoin",
76-
Chain.ABC => "bitcoin-abc",
7773
Chain.ZEC => "zcash",
7874
_ => throw new ArgumentException("Undefined Chain")
7975
};

SharpPusher/ViewModels/MainWindowViewModel.cs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -144,18 +144,6 @@ private void SetApiList()
144144
new Blockchair(Blockchair.Chain.XIN),
145145
];
146146
break;
147-
case Networks.Tezos:
148-
ApiList =
149-
[
150-
new Blockchair(Blockchair.Chain.XTZ),
151-
];
152-
break;
153-
case Networks.EOS:
154-
ApiList =
155-
[
156-
new Blockchair(Blockchair.Chain.EOS),
157-
];
158-
break;
159147
case Networks.Ethereum:
160148
ApiList =
161149
[
@@ -180,12 +168,6 @@ private void SetApiList()
180168
new Blockchair(Blockchair.Chain.DASH),
181169
];
182170
break;
183-
case Networks.BitcoinABC:
184-
ApiList =
185-
[
186-
new Blockchair(Blockchair.Chain.ABC),
187-
];
188-
break;
189171
}
190172
}
191173

@@ -230,7 +212,6 @@ public State CurrentState
230212
public bool IsCheckTxVisible => SelectedNetwork is Networks.Bitcoin
231213
or Networks.BitcoinTestnet
232214
or Networks.BitcoinCash
233-
or Networks.BitcoinABC
234215
or Networks.BitcoinSV
235216
or Networks.Litecoin
236217
or Networks.Dogecoin;

0 commit comments

Comments
 (0)