From beaa7ff5567d17e1c8a0f7a0d725f27f29bc7258 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Mon, 12 Oct 2020 21:19:49 -0700 Subject: [PATCH] fix: permit getConfirmedTransaction log messages field to be null --- web3.js/src/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']), }), ]);