Skip to content

Commit b74eb27

Browse files
committed
remove references to bitcore-lib-cash
1 parent 8f03672 commit b74eb27

File tree

5 files changed

+12
-7
lines changed

5 files changed

+12
-7
lines changed

lib/common/utils.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ var Utils = {};
1010
var Bitcore = require('bitcore-lib');
1111
var Bitcore_ = {
1212
btc: Bitcore,
13-
bch: require('bitcore-lib-cash')
13+
//bch: require('bitcore-lib-cash')
14+
bch: Bitcore
1415
};
1516

1617

lib/model/txproposal.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ log.disableColor();
99

1010
var Bitcore = {
1111
'btc': require('bitcore-lib'),
12-
'bch': require('bitcore-lib-cash'),
12+
//'bch': require('bitcore-lib-cash'),
13+
'bch': require('bitcore-lib')
1314
};
1415

1516
var Common = require('../common');

lib/server.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ var Stringify = require('json-stable-stringify');
1414
var Bitcore = require('bitcore-lib');
1515
var Bitcore_ = {
1616
btc: Bitcore,
17-
bch: require('bitcore-lib-cash')
17+
//bch: require('bitcore-lib-cash')
18+
bch: Bitcore
1819
};
1920

2021
var Common = require('./common');

test/integration/helpers.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ var tingodb = require('tingodb')({
1515
var Bitcore = require('bitcore-lib');
1616
var Bitcore_ = {
1717
btc: Bitcore,
18-
bch: require('bitcore-lib-cash')
18+
//bch: require('bitcore-lib-cash')
19+
bch: Bitcore
1920
};
2021

2122
var Common = require('../../lib/common');

test/integration/server.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ log.level = 'info';
1313
var Bitcore = require('bitcore-lib');
1414
var Bitcore_ = {
1515
btc: Bitcore,
16-
bch: require('bitcore-lib-cash')
16+
//bch: require('bitcore-lib-cash')
17+
bch: Bitcore
1718
};
1819

1920

@@ -2535,7 +2536,7 @@ describe('Wallet service', function() {
25352536
};
25362537

25372538
_.each(['bch', 'btc'], function(coin) {
2538-
2539+
25392540
describe('#createTx ' + coin, function() {
25402541
var addressStr, idKey;
25412542
before(function() {
@@ -2548,7 +2549,7 @@ describe('Wallet service', function() {
25482549
describe('Tx proposal creation & publishing ' + coin, function() {
25492550
var server, wallet;
25502551
beforeEach(function(done) {
2551-
helpers.createAndJoinWallet(1, 1, {
2552+
helpers.createAndJoinWallet(1, 1, {
25522553
coin: coin,
25532554
}, function(s, w) {
25542555
server = s;

0 commit comments

Comments
 (0)