File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,11 @@ void Settings::setAllowFetchPrices(bool allow) {
3434Explorer Settings::getExplorer () {
3535 // Load from the QT Settings.
3636 QSettings s;
37+ // TODO: make it easy for people to use other explorers like komodod.com
38+ QString explorer = " https://explorer.myhush.org" ;
3739
38- auto txExplorerUrl = s.value (" explorer/txExplorerUrl" ).toString ();
39- auto addressExplorerUrl = s.value (" explorer/addressExplorerUrl" ).toString ();
40+ auto txExplorerUrl = s.value (" explorer/txExplorerUrl" , explorer + " /tx/ " ).toString ();
41+ auto addressExplorerUrl = s.value (" explorer/addressExplorerUrl" , explorer + " /address/ " ).toString ();
4042 auto testnetTxExplorerUrl = s.value (" explorer/testnetTxExplorerUrl" ).toString ();
4143 auto testnetAddressExplorerUrl = s.value (" explorer/testnetAddressExplorerUrl" ).toString ();
4244
You can’t perform that action at this time.
0 commit comments