Skip to content

Commit 59eea79

Browse files
Merge pull request #1409 from cypherstack/tezos
Switch default Tezos node to tezos.stackwallet.com which doesn't supp…
2 parents 2cc9862 + 3c5e791 commit 59eea79

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

lib/wallets/api/tezos/tezos_rpc_api.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ abstract final class TezosRpcAPI {
4646
}) async {
4747
try {
4848
final api =
49-
"${nodeInfo.host}:${nodeInfo.port}/chains/main/blocks/head/header/shell";
49+
"${nodeInfo.host}:${nodeInfo.port}/chains/main/blocks/head/header";
5050

5151
final response = await _client.get(
5252
url: Uri.parse(api),

lib/wallets/crypto_currency/coins/tezos.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,7 @@ class Tezos extends Bip39Currency {
107107
switch (network) {
108108
case CryptoCurrencyNetwork.main:
109109
return NodeModel(
110-
// TODO: ?Change this to stack wallet one?
111-
host: "https://mainnet.api.tez.ie",
110+
host: "https://tezos.stackwallet.com",
112111
port: 443,
113112
name: DefaultNodes.defaultName,
114113
id: DefaultNodes.buildId(this),

0 commit comments

Comments
 (0)