From d871ebc9d6661d824ccb729e00ac24b8845541ab Mon Sep 17 00:00:00 2001 From: arnaucube Date: Thu, 17 Dec 2020 13:15:31 +0100 Subject: [PATCH] Fix coordinator pipeline forgeBatch call --- coordinator/coordinator_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coordinator/coordinator_test.go b/coordinator/coordinator_test.go index 2b13789..d3a3091 100644 --- a/coordinator/coordinator_test.go +++ b/coordinator/coordinator_test.go @@ -603,12 +603,12 @@ PoolTransfer(0) User2-User3: 300 (126) pipeline.batchBuilder.LocalStateDB().MerkleTree().Root()) batchNum++ - batchInfo, err := pipeline.forgeSendServerProof(ctx, batchNum) + batchInfo, err := pipeline.forgeBatch(ctx, batchNum) require.NoError(t, err) assert.Equal(t, 3, len(batchInfo.L2Txs)) batchNum++ - batchInfo, err = pipeline.forgeSendServerProof(ctx, batchNum) + batchInfo, err = pipeline.forgeBatch(ctx, batchNum) require.NoError(t, err) assert.Equal(t, 0, len(batchInfo.L2Txs)) }