domschiener / nostalgia

Simple UI for IOTA wallet
24 stars 12 forks source link

error on initialization #5

Open FabioRM opened 7 years ago

FabioRM commented 7 years ago

When tryin to access with my seed I get: Uncaught TypeError: Cannot read property 'bundle' of undefined at iota.min.js:1322 at iota.min.js:358 at iota.min.js:39 at makeRequest.prepareResult (iota.min.js:3179) at exports.XMLHttpRequest.request.onreadystatechange (iota.min.js:3136) at exports.XMLHttpRequest.dispatchEvent (iota.min.js:16539) at setState (iota.min.js:16558) at exports.IncomingMessage.<anonymous> (iota.min.js:16395) at exports.IncomingMessage.EventEmitter.emit (iota.min.js:11094) at endReadableNT (iota.min.js:13434)

This behavior does not happen when accessin with IOTA, TEST or a new seed

FabioRM commented 7 years ago

I solved adding if (trytes === undefined) return callback(new Error("Bundle transactions not visible")); at line 1303

I'm not good with JS, maybe a change at line 1302 would be a cleaner solution