Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
fgamundi committed Dec 20, 2023
1 parent 8b86882 commit bac5544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/util/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export function initializeCustomCreateBlock(context): any {
} else {
const res = await originalCreateBlock(tx, opt);
// Ensure that all the extrinsics have been included
const txs = Array.isArray(tx) ? tx : [tx]
const txs = Array.isArray(tx) ? tx : [tx];
const expectedTxHashes = txs.map((x) => x.hash.toString());
const block = await context.polkadotJs().rpc.chain.getBlock(res.block.hash);
const includedTxHashes = block.block.extrinsics.map((x) => x.hash.toString());
Expand Down

0 comments on commit bac5544

Please sign in to comment.