Skip to content

Commit

Permalink
DAO.new reports "avatar address is not defined" (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkent600 authored Aug 21, 2018
1 parent 77f7f51 commit 2005657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lib/transactionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 2005657

Please sign in to comment.