aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/android/index.ts9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/android/index.ts b/src/android/index.ts
index 82d8309b8..9e58fc8a6 100644
--- a/src/android/index.ts
+++ b/src/android/index.ts
@@ -258,17 +258,10 @@ export function installAndroidWalletListener(): void {
console.log(`android listener: got request for ${operation} (${id})`);
try {
- const result = await handler.handleMessage(operation, id, msg.args);
+ const respMsg = await handler.handleMessage(operation, id, msg.args);
console.log(
`android listener: sending success response for ${operation} (${id})`,
);
- const respMsg = {
- type: "response",
- id,
- operation,
- isError: false,
- result,
- };
sendMessage(JSON.stringify(respMsg));
} catch (e) {
const respMsg = {