Skip to content

Commit

Permalink
Merge pull request #1118 from Agoric/mfig/prevent-blockq-bypass
Browse files Browse the repository at this point in the history
Don't bypass the block queue when running simulateBlock
  • Loading branch information
michaelfig authored May 17, 2020
2 parents 74e27c0 + 444067d commit 50caaa6
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 50caaa6

Please sign in to comment.