Skip to content

Commit

Permalink
Fixed lowercase bug, added error logging in the event of transaction …
Browse files Browse the repository at this point in the history
…type not known

Signed-off-by: Greg Scullard <gregscullard@hedera.com>
  • Loading branch information
Greg Scullard authored and steven-sheehy committed Aug 29, 2019
1 parent 58067d9 commit 436a288
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,8 @@ private static int getTransactionTypeId (TransactionBody body) {
if (transactionTypes.containsKey(transactionName)) {
return transactionTypes.get(transactionName);
} else {
return transactionTypes.get("unknown");
log.error("Transaction type {} not known to mirror node, storing 'UNKNOWN'", transactionName);
return transactionTypes.get("UNKNOWN");
}
}

Expand Down

0 comments on commit 436a288

Please sign in to comment.