mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-24 07:18:09 +00:00
Changing this
to self
in emscripten post
This commit is contained in:
parent
fa82ba6d3f
commit
8b47323c05
@ -98,7 +98,7 @@ function processMessage(event) {
|
|||||||
data['version'],
|
data['version'],
|
||||||
!!data['segwit']
|
!!data['segwit']
|
||||||
);
|
);
|
||||||
postMessage({
|
self.postMessage({
|
||||||
'addresses': addresses,
|
'addresses': addresses,
|
||||||
'firstIndex': data['firstIndex'],
|
'firstIndex': data['firstIndex'],
|
||||||
'lastIndex': data['lastIndex']
|
'lastIndex': data['lastIndex']
|
||||||
@ -111,5 +111,5 @@ function processMessage(event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (ENVIRONMENT_IS_WORKER) {
|
if (ENVIRONMENT_IS_WORKER) {
|
||||||
this['onmessage'] = processMessage;
|
self.onmessage = processMessage;
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user