From 258d9c653caddc86fdbe462e85464b5acef7d986 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Tue, 11 Aug 2015 18:27:37 -0300 Subject: [PATCH 1/2] bws 0.1.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ffc10afb..8d1173b8 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "uglify": "^0.1.1" }, "devDependencies": { - "bitcore-wallet-service": "0.1.2", + "bitcore-wallet-service": "0.1.3", "chai": "^1.9.1", "coveralls": "^2.11.2", "grunt-jsdoc": "^0.5.8", From d1730a054c876687dec3cecba092d86ca29575f6 Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Tue, 11 Aug 2015 18:28:00 -0300 Subject: [PATCH 2/2] fix fee rounding in tests --- test/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/client.js b/test/client.js index 543a3a65..d98cb53d 100644 --- a/test/client.js +++ b/test/client.js @@ -621,7 +621,7 @@ describe('client API', function() { x2.creatorName.should.equal('creator'); x2.message.should.equal('hello'); x2.amount.should.equal(30000); - x2.fee.should.equal(3800); + x2.fee.should.equal(3720); x2.toAddress.should.equal('n2TBMPzPECGUfcT2EByiTJ12TPZkhN2mN5'); x2.hasUnconfirmedInputs.should.equal(false); done(); @@ -695,7 +695,7 @@ describe('client API', function() { should.not.exist(err); clients[0].getTx(x.id, function(err, x2) { should.not.exist(err); - x2.fee.should.equal(1300); + x2.fee.should.equal(1290); done(); }); });