Merge pull request #529 from tuxcanfly/test-fix-pow

test: fix get block proof equivalent time
This commit is contained in:
Javed Khan 2018-07-16 20:27:10 +05:30 committed by GitHub
commit f24a9b674f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ describe('Difficulty', function() {
const p2 = blocks[random(blocks.length)];
const tdiff = chain.getProofTime(p1, p2);
assert.strictEqual(tdiff, p1.time - p2.time);
assert.ok(tdiff === p1.time - p2.time);
}
});
});