Skip to content

Commit

Permalink
Replace non-exchange-related api.mymonero.com default calls with loca…
Browse files Browse the repository at this point in the history
…lhost. Resolves mymonero#147
  • Loading branch information
CryptoGrampy committed Mar 30, 2023
1 parent a6df682 commit 16359cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/mymonero-lws-client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class LWSClient {
this.httpClient = options.httpClient || axios
this.appName = options.appName || 'MyMonero'
this.appVersion = options.appVersion || '1.1.24'
axios.defaults.baseURL = options.url || 'https://api.mymonero.com'
axios.defaults.baseURL = options.url || 'localhost'
}

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/mymonero-wallet-manager/src/Wallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class Wallet {
this.keyImageCache = []
this.bridgeClass = bridge
this.lwsClient = apiClient
this.url = options.url || 'https://api.mymonero.com'
this.url = options.url || 'localhost'
this.feePerb = null
this.feeMask = null
this.address = options.address || null
Expand Down
2 changes: 1 addition & 1 deletion packages/mymonero-wallet-manager/src/WalletManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const Wallet = require('./Wallet')
const ContactManager = require('./ContactManager')

class WalletManager {
constructor (netType = 'MAINNET', url = 'https://api.mymonero.com') {
constructor (netType = 'MAINNET', url = 'localhost') {
this.netType = netType
this.url = url
this.bridgeClass = {}
Expand Down

0 comments on commit 16359cf

Please sign in to comment.