Skip to content

Commit

Permalink
file names updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Pikora authored and Jan Pikora committed Jan 5, 2024
1 parent ff3cd61 commit 6a7f4da
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tests/call_receive_header.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ let btcTxHelper;
let bridge;

const HEADER_RECEIVED_OK = 0;
const RECEIVE_HEADER_CALLED_TOO_SOON = "-1";
const RECEIVE_HEADER_CALLED_TOO_SOON = -1;

const fulfillRequirementsToRunAsSingleTestFile = async () => {
const forkName = process.env.FORK_NAME || getLatestForkName().name;
Expand Down Expand Up @@ -52,7 +52,7 @@ const execute = (description, getRskHost) => {
const blockHashes = await btcTxHelper.mine();
const blockHeader = await btcTxHelper.getBlockHeader(blockHashes[0], false);
const result = await bridge.methods.receiveHeader(ensure0x(blockHeader)).call();
expect(result).to.be.equal(RECEIVE_HEADER_CALLED_TOO_SOON);
expect(Number(result)).to.be.equal(RECEIVE_HEADER_CALLED_TOO_SOON);
}
);
});
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6a7f4da

Please sign in to comment.