Fix test for bitcoindSync
This commit is contained in:
parent
6584974413
commit
dd91b75827
@ -217,7 +217,8 @@ describe('Bitcoind Node', function() {
|
|||||||
var blockBuffer = new Buffer(blockData);
|
var blockBuffer = new Buffer(blockData);
|
||||||
var block = Block.fromBuffer(blockBuffer);
|
var block = Block.fromBuffer(blockBuffer);
|
||||||
node.bitcoind = {
|
node.bitcoind = {
|
||||||
getBlock: sinon.stub().callsArgWith(1, null, blockBuffer)
|
getBlock: sinon.stub().callsArgWith(1, null, blockBuffer),
|
||||||
|
isSynced: sinon.stub().returns(true)
|
||||||
};
|
};
|
||||||
node.chain = {
|
node.chain = {
|
||||||
tip: {
|
tip: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user