diff --git a/extension/background/emscriptif.js b/extension/background/emscriptif.js index 26c0c631d..fbd05fe6a 100644 --- a/extension/background/emscriptif.js +++ b/extension/background/emscriptif.js @@ -363,7 +363,7 @@ class SignatureStruct { constructor(x) { this.members = {}; for (let k in x) { - this.set(k[0], k[1]); + this.set(x, x[k]); } } toPurpose(a) { diff --git a/extension/pages/debug.html b/extension/pages/debug.html index e4466bc47..7dfa7a9cc 100644 --- a/extension/pages/debug.html +++ b/extension/pages/debug.html @@ -5,6 +5,7 @@