Skip to content

Commit 6cf5b79

Browse files
authored
Merge pull request #96 from ainblockchain/develop
Release v0.2.4
2 parents 50ea237 + b4c4867 commit 6cf5b79

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

integration/dev.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,8 @@ describe('API Tests', () => {
10291029
let res = JSON.parse(syncRequest('POST', server1+'/set_value',
10301030
{json: {ref: `/accounts/${depositServiceAdmin}/balance`, value: 1000}}).body.toString('utf-8')).result;
10311031
waitUntilTxFinalized(SERVERS, res.tx_hash);
1032-
res = JSON.parse(syncRequest('POST', server1+'/set_value', {json: {ref: depositBalancePath, value: 1000}}).body.toString('utf-8')).result;
1032+
res = JSON.parse(syncRequest('POST', server1+'/set_value',
1033+
{json: {ref: depositBalancePath, value: 1000}}).body.toString('utf-8')).result;
10331034
waitUntilTxFinalized(SERVERS, res.tx_hash);
10341035
res = JSON.parse(syncRequest('POST', server1+'/set_value',
10351036
{json: {ref: `/accounts/${depositActorBad}/balance`, value: 1000}}).body.toString('utf-8')).result;

integration/integration.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,8 @@ describe('Integration Tests', () => {
436436
for (let j = 0; j < len; j++) {
437437
const block = blocks[j];
438438
if (block.hash !== hashBlock(block)) {
439-
assert.fail(`Block hash is incorrect for block ${JSON.stringify(block, null, 2)}\n(hash: ${hashBlock(block)}, node ${i})`);
439+
assert.fail(`Block hash is incorrect for block ${JSON.stringify(block, null, 2)}` +
440+
`\n(hash: ${hashBlock(block)}, node ${i})`);
440441
}
441442
if (block.transactions_hash !== hashString(stringify(block.transactions))) {
442443
assert.fail(`Transactions or transactions_hash is incorrect for block ${block.hash}`);

0 commit comments

Comments
 (0)