Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
fix(engine) Remove unnecessary asyncs in engine calls
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <jeromesimeon@me.com>
  • Loading branch information
jeromesimeon committed Jul 22, 2020
1 parent 6c4987d commit 9f16bb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ergo-engine/lib/engine.js
Expand Up @@ -208,7 +208,7 @@ class Engine {
* @param {object} options to the text generation
* @return {object} the result for the clause initialization
*/
async init(logic, contractId, contract, params, currentTime, options) {
init(logic, contractId, contract, params, currentTime, options) {
const defaultState = {
'$class':'org.accordproject.cicero.contract.AccordContractState',
'stateId':'org.accordproject.cicero.contract.AccordContractState#1'
Expand All @@ -226,7 +226,7 @@ class Engine {
* @param {object} options to the text generation
* @return {object} the result for draft
*/
async calculate(logic, contractId, name, contract, currentTime, options) {
calculate(logic, contractId, name, contract, currentTime, options) {
options = options || {};

const defaultState = {
Expand Down

0 comments on commit 9f16bb3

Please sign in to comment.