diff --git a/lib/transactionService.ts b/lib/transactionService.ts index 064e1fa0a..5418381e2 100644 --- a/lib/transactionService.ts +++ b/lib/transactionService.ts @@ -494,10 +494,7 @@ export class TransactionService extends PubSubEventService { } else if (typeof index === "undefined") { index = tx.logs.length - 1; } - if (tx.logs[index].type !== "mined") { - // TODO: log `getValueFromLogs: transaction has not been mined: ${tx.logs[index].event}` - return undefined; - } + const result = tx.logs[index].args[arg]; if (!result) { diff --git a/package.json b/package.json index 9f2bb1cee..763dfef6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@daostack/arc.js", - "version": "0.0.0-alpha.79", + "version": "0.0.0-alpha.80", "description": "A JavaScript library for interacting with @daostack/arc ethereum smart contracts", "main": "dist/index.js", "types": "dist/index.d.ts",