Fix POW test

This commit is contained in:
Kagami Hiiragi 2015-01-10 02:03:39 +03:00
parent e99d76e670
commit 3b662af5ed
1 changed files with 2 additions and 1 deletions

View File

@ -284,7 +284,8 @@ describe("POW", function() {
this.timeout(120000);
return POW.do({workerUrl: "/base/worker.browserify.js", target: 10693764680411, initialHash: Buffer("8ff2d685db89a0af2e3dbfd3f700ae96ef4d9a1eac72fd778bbb368c7510cddda349e03207e1c4965bd95c6f7265e8f1a481a08afab3874eaafb9ade09a10880", "hex")})
.then(function(nonce) {
expect(nonce).to.equal(2373146);
// Multiple valid nonces.
expect([2373146, 2543600]).to.include(nonce);
});
});
}