diff --git a/web3.js/src/connection.js b/web3.js/src/connection.js index 8a38e0e406..267cc8271b 100644 --- a/web3.js/src/connection.js +++ b/web3.js/src/connection.js @@ -1128,7 +1128,7 @@ const ConfirmedTransactionMetaResult = struct.union([ fee: 'number', preBalances: struct.array(['number']), postBalances: struct.array(['number']), - logMessages: struct.union([struct.array(['string']), 'undefined']), + logMessages: struct.union([struct.array(['string']), 'null', 'undefined']), }), ]);