Commit fb3e3c7a authored by Jason Salyers's avatar Jason Salyers
Browse files

[JES] If no transfer history is found, return a single empty array instead

parent d361a96a
...@@ -112,12 +112,13 @@ async function getTransferHistory(account) { ...@@ -112,12 +112,13 @@ async function getTransferHistory(account) {
account, account,
err err
); );
transfer_history = [];
} }
} }
} }
if (transfer_history === null || transfer_history === undefined) if (transfer_history === null || transfer_history === undefined)
transfer_history = [[]]; transfer_history = [];
return transfer_history; return transfer_history;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment