Only block reused address if option is on
This commit is contained in:
parent
fb42fc54a0
commit
5125601e56
2 changed files with 7 additions and 7 deletions
|
|
@ -2,7 +2,7 @@ const db = require('./db')
|
|||
|
||||
function blocked (address, cryptoCode) {
|
||||
const sql = `select * from blacklist where address = $1 and crypto_code = $2`
|
||||
return db.oneOrNone(sql, [
|
||||
return db.any(sql, [
|
||||
address,
|
||||
cryptoCode
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue