mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-22 17:33:23 +01:00
Handle empty fetch response (#7111)
This commit is contained in:
parent
ee913edf9f
commit
f1c774d8f3
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user