Refactory get balance 's methods
This commit is contained in:
parent
e88c80bc3e
commit
f55d243bed
5 changed files with 24 additions and 26 deletions
|
|
@ -61,12 +61,6 @@ describe('Insight model', function() {
|
|||
done();
|
||||
});
|
||||
});
|
||||
it('should return balance', function () {
|
||||
var w = new Insight();
|
||||
var b = w.getBalance(unspent);
|
||||
should.exist(b);
|
||||
b.should.equal(91);
|
||||
});
|
||||
it.skip('should return txid', function (done) {
|
||||
var w = new Insight();
|
||||
w.sendRawTransaction(rawtx, function(a) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue