diff --git a/packages/api/src/models/Transaction.js b/packages/api/src/models/Transaction.js index 8d53e4713..581c9026c 100644 --- a/packages/api/src/models/Transaction.js +++ b/packages/api/src/models/Transaction.js @@ -38,6 +38,7 @@ module.exports = class Transaction { } } catch (e) { console.error(e) + decodedError = "Cannot deserialize" } return new Transaction(tx_hash, index, block_hash, block_height, type, data, timestamp, parseInt(gas_used), status, decodedError ?? error)