Skip to content

Commit e8477be

Browse files
fix(sdk-core): update the staging Environment
- uses the correct urls for newly provisioned staging environment Ticket: BG-59878
1 parent 86e2aad commit e8477be

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/bitgo/test/unit/bitgo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe('BitGo Prototype Methods', function () {
5252
it('staging', () => {
5353
BitGoJS.setNetwork('testnet');
5454
TestBitGo.decorate(BitGo, { env: 'staging' });
55-
BitGoJS.getNetwork().should.equal('bitcoin');
55+
BitGoJS.getNetwork().should.equal('testnet');
5656
});
5757

5858
it('test', () => {

modules/sdk-core/src/bitgo/environments.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ export const Environments: Environments = {
155155
uri: 'https://app.bitgo-latest.com',
156156
stellarFederationServerUrl: 'https://app.bitgo-latest.com/api/v2/xlm/federation',
157157
}),
158-
staging: Object.assign({}, mainnetBase, {
159-
uri: 'https://staging.bitgo.com',
160-
stellarFederationServerUrl: 'https://staging.bitgo.com/api/v2/xlm/federation',
158+
staging: Object.assign({}, testnetBase, {
159+
uri: 'https://app.bitgo-staging.com',
160+
stellarFederationServerUrl: 'https://app.bitgo-staging.com/api/v2/txlm/federation',
161161
}),
162162
local: Object.assign({}, devBase, {
163163
uri: 'https://localhost:3000',

0 commit comments

Comments
 (0)