From f1c774d8f319ac6aac9952dccc01792f4d4a0b27 Mon Sep 17 00:00:00 2001 From: Dan J Miller Date: Wed, 9 Oct 2019 12:11:18 -0230 Subject: [PATCH] Handle empty fetch response (#7111) --- app/scripts/controllers/incoming-transactions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/scripts/controllers/incoming-transactions.js b/app/scripts/controllers/incoming-transactions.js index 6c7b626f1..9ce6a4dd9 100644 --- a/app/scripts/controllers/incoming-transactions.js +++ b/app/scripts/controllers/incoming-transactions.js @@ -207,7 +207,7 @@ class IncomingTransactionsController { } } - _processTxFetchResponse ({ status, result, address, currentNetworkID }) { + _processTxFetchResponse ({ status, result = [], address, currentNetworkID }) { if (status !== '0' && result.length > 0) { const remoteTxList = {} const remoteTxs = []