diff options
Diffstat (limited to 'app/scripts/background.js')
-rw-r--r-- | app/scripts/background.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js index 4f537b30a..bfd1fc92b 100644 --- a/app/scripts/background.js +++ b/app/scripts/background.js @@ -153,7 +153,7 @@ function setupProviderConnection(stream, originDomain){ if (payload.method === 'eth_sendTransaction') { payload.params[0].origin = originDomain } else if (payload.method === 'eth_sign') { - payload.params.push(originDomain) + payload.params.push({ origin: originDomain }) } // handle rpc request provider.sendAsync(payload, function onPayloadHandled(err, response){ |