Skip to content

Commit

Permalink
fix: don't bypass the block queue when running simulateBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfig committed May 17, 2020
1 parent 74e27c0 commit 444067d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cosmic-swingset/lib/ag-solo/fake-chain.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export async function connectToFakeChain(basedir, GCI, role, delay, inbound) {
const maximumDelay = (delay || PRETEND_BLOCK_DELAY) * 1000;

const withBlockQueue = makeWithQueue();
const simulateBlock = withBlockQueue(async function simulateBlock() {
const simulateBlock = withBlockQueue(async function unqueuedSimulateBlock() {
const actualStart = Date.now();
// Gather up the new messages into the latest block.
thisBlock.push(...intoChain);
Expand Down

0 comments on commit 444067d

Please sign in to comment.