aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-12-17 07:46:12 -0500
committerAdam Soltys <[email protected]>2021-12-17 07:46:12 -0500
commit5ca75ae13743aa2b33eacfa57deca90a03135cd2 (patch)
tree407db1852fbd8fe59719e78528c8314faaedff8f /routes
parent75bd92372f9649fecd6159f2ba9839efc5061cd6 (diff)
downloadcoinos-server-5ca75ae13743aa2b33eacfa57deca90a03135cd2.tar.gz
coinos-server-5ca75ae13743aa2b33eacfa57deca90a03135cd2.zip
check for account pubkey
Diffstat (limited to 'routes')
-rw-r--r--routes/send.js1
1 files changed, 1 insertions, 0 deletions
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