Prevent address reuse option

This commit is contained in:
Rafael Taranto 2019-07-31 12:17:39 +01:00 committed by Josh Harvey
parent 55cdc2fa52
commit 98cc3b18b7
9 changed files with 141 additions and 13 deletions

View file

@ -12,7 +12,7 @@ const rl = readline.createInterface({
})
const sql = `select regexp_replace(crypto_code, '$', ' ') as code,regexp_replace(address, '^', ' ') as address from blacklist`
const insertSql = `insert into blacklist(crypto_code, address) values ($1, $2)`
const insertSql = `insert into blacklist(crypto_code, address, created_by_operator) values ($1, $2, 't')`
const makeDimAndReset = '\x1b[2m%s\x1b[0m'
db.query(sql)