diff --git a/node/external/transactionAPI/apiTransactionProcessor_test.go b/node/external/transactionAPI/apiTransactionProcessor_test.go index 4035748488..73e262fc74 100644 --- a/node/external/transactionAPI/apiTransactionProcessor_test.go +++ b/node/external/transactionAPI/apiTransactionProcessor_test.go @@ -761,8 +761,9 @@ func TestNode_PutHistoryFieldsInTransaction(t *testing.T) { NotarizedAtDestinationInMetaNonce: 4253, NotarizedAtDestinationInMetaHash: []byte{12}, } + n, _, _, _ := createAPITransactionProc(t, 42, true) - putMiniblockFieldsInTransaction(tx, metadata) + n.putMiniblockFieldsInTransaction(tx, metadata) require.Equal(t, 42, int(tx.Epoch)) require.Equal(t, 4321, int(tx.Round))