From 5ca75ae13743aa2b33eacfa57deca90a03135cd2 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 17 Dec 2021 07:46:12 -0500 Subject: check for account pubkey --- routes/send.js | 1 + 1 file changed, 1 insertion(+) (limited to 'routes') diff --git a/routes/send.js b/routes/send.js index 83b1e501..e161ce65 100644 --- a/routes/send.js +++ b/routes/send.js @@ -26,6 +26,7 @@ module.exports = ah(async (req, res, next) => { account = await db.Account.findOne({ where: { id: user.account.id, + pubkey:null, }, lock: transaction.LOCK.UPDATE, transaction -- cgit v1.2.3