aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routes/send.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/send.js b/routes/send.js
index c33b6d3a..e1d5aa27 100644
--- a/routes/send.js
+++ b/routes/send.js
@@ -81,7 +81,7 @@ module.exports = ah(async (req, res, next) => {
};
if (recipient.account.asset === asset && !recipient.account.pubkey)
- ({ account: a2 } = recipient);
+ a2 = recipient.account;
else {
a2 = await db.Account.findOne({
where: acc,