Skip to content

Commit

Permalink
Remove v2 explorers default values
Browse files Browse the repository at this point in the history
  • Loading branch information
BertrandD committed Jul 20, 2022
1 parent 4ab0d73 commit 002a959
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/idl/wallet/configuration.djinni
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ SynchronizationEngines = interface +c {
# Default values you might want to use if you don’t know what values you should use.
ConfigurationDefaults = interface +c {
# The default Ledger API endpoint for the explorers.
const BLOCKCHAIN_DEFAULT_API_ENDPOINT: string = "https://explorers.api.live.ledger.com";
const BLOCKCHAIN_DEFAULT_API_ENDPOINT: string = "https://explorers.api.vault.ledger.com";
# The default Ledger API endpoint for the observers.
const BLOCKCHAIN_OBSERVER_WS_ENDPOINT: string = "wss://ws.ledgerwallet.com/blockchain/v2/{}/ws";
# The default derivation scheme for BIP44 derivation.
Expand Down
2 changes: 1 addition & 1 deletion core/src/api/ConfigurationDefaults.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace ledger {
BitcoinLikeBlockchainExplorer(configuration, {api::Configuration::BLOCKCHAIN_EXPLORER_API_ENDPOINT}) {
_http = http;
_parameters = parameters;
_explorerVersion = configuration->getString(api::Configuration::BLOCKCHAIN_EXPLORER_VERSION).value_or("v2");
_explorerVersion = configuration->getString(api::Configuration::BLOCKCHAIN_EXPLORER_VERSION).value_or("v3");
}

Future<String> LedgerApiBitcoinLikeBlockchainExplorer::pushLedgerApiTransaction(const std::vector<uint8_t> &transaction, const std::string& correlationId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace ledger {
RippleLikeBlockchainExplorer(configuration, {api::Configuration::BLOCKCHAIN_EXPLORER_API_ENDPOINT}) {
_http = http;
_parameters = parameters;
_explorerVersion = configuration->getString(api::Configuration::BLOCKCHAIN_EXPLORER_VERSION).value_or("v2");
_explorerVersion = configuration->getString(api::Configuration::BLOCKCHAIN_EXPLORER_VERSION).value_or("v3");
}

Future<String>
Expand Down

0 comments on commit 002a959

Please sign in to comment.