Handle empty fetch response (#7111)

feature/default_network_editable
Dan J Miller 5 years ago committed by Mark Stacey
parent ee913edf9f
commit f1c774d8f3
  1. 2
      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) { if (status !== '0' && result.length > 0) {
const remoteTxList = {} const remoteTxList = {}
const remoteTxs = [] const remoteTxs = []

Loading…
Cancel
Save