Skip to content

Commit ff6e6b1

Browse files
committed
fix: blueprint info url
See: HathorNetwork/hathor-wallet-lib#734
1 parent 3a568fd commit ff6e6b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

__tests__/__fixtures__/http-fixtures.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1072,7 +1072,7 @@ export default {
10721072
nc_pubkey: '033f5d238afaa9e2218d05dd7fa50eb6f9e55431e6359e04b861cd991ae24dc655'
10731073
}]
10741074
},
1075-
'/nano_contract/blueprint': {
1075+
'/nano_contract/blueprint/info': {
10761076
id: '3cb032600bdf7db784800e4ea911b10676fa2f67591f82bb62628c234e771595',
10771077
name: 'Test',
10781078
public_methods: {

__tests__/test-utils.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class TestUtils {
220220
httpMock.onGet('http://fake.txmining:8084/health').reply(200, httpFixtures['http://fake.txmining:8084/health']);
221221
httpMock.onGet('/nano_contract/state').reply(200, httpFixtures['/nano_contract/state']);
222222
httpMock.onGet('/nano_contract/history').reply(200, httpFixtures['/nano_contract/history']);
223-
httpMock.onGet('/nano_contract/blueprint').reply(200, httpFixtures['/nano_contract/blueprint']);
223+
httpMock.onGet('/nano_contract/blueprint/info').reply(200, httpFixtures['/nano_contract/blueprint/info']);
224224

225225
// Fireblocks mock
226226
httpMock.onGet(/http:\/\/fake-fireblocks-url\/v1\/transactions\/external_tx_id\/*/).reply(fireblocksFixtures.transaction_status);

0 commit comments

Comments
 (0)