Skip to content

Commit 05a2d87

Browse files
author
Danny Diekroeger
committed
keep support for old format
1 parent ed58496 commit 05a2d87

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/admin.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,10 @@ const handleImportKeys = co(function *(args) {
305305
* Alternatively, if the key is specified to be an xpub, we would just remove the XLM info and continue as normal
306306
*/
307307
const formatKeysByType = function(keys, type) {
308+
// if using the old format, don't do anything here, just return the keys
309+
if (!keys[0].xlmpub) {
310+
return keys;
311+
}
308312
const formattedkeys = [];
309313
_.forEach(keys, function(key) {
310314
formattedkeys.push({

0 commit comments

Comments
 (0)