Skip to content

Commit

Permalink
Removed stray debug logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed Feb 16, 2023
1 parent 92def9c commit e1e0929
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src.ts/abi/abi-coder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ function getBuiltinCallException(action: CallExceptionAction, tx: { to?: null |
message += `: ${ JSON.stringify(reason) }`;

} catch (error) {
console.log(error);
message += " (could not decode reason; invalid data)";
}

Expand All @@ -99,7 +98,6 @@ function getBuiltinCallException(action: CallExceptionAction, tx: { to?: null |
reason = `Panic due to ${ PanicReasons.get(code) || "UNKNOWN" }(${ code })`;
message += `: ${ reason }`;
} catch (error) {
console.log(error);
message += " (could not decode panic reason)";
}
} else {
Expand Down

0 comments on commit e1e0929

Please sign in to comment.