aboutsummaryrefslogtreecommitdiff
path: root/src/wallet-impl/return.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/wallet-impl/return.ts')
-rw-r--r--src/wallet-impl/return.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet-impl/return.ts b/src/wallet-impl/return.ts
index ec19c00ae..0c142f9a6 100644
--- a/src/wallet-impl/return.ts
+++ b/src/wallet-impl/return.ts
@@ -238,7 +238,7 @@ async function depositReturnedCoins(
console.error("deposit failed due to status code", resp);
continue;
}
- const respJson = resp.responseJson;
+ const respJson = await resp.json();
if (respJson.status !== "DEPOSIT_OK") {
console.error("deposit failed", resp);
continue;