working
This commit is contained in:
parent
62c0db37d5
commit
c5f70a2866
3 changed files with 9 additions and 19 deletions
2
db/db.go
2
db/db.go
|
|
@ -248,7 +248,7 @@ func Get_cards_blank_uid() ([]Card, error) {
|
|||
|
||||
// query the database
|
||||
|
||||
sqlStatement := `select card_id, k2_cmac_key from cards where uid='' and last_counter_value=0;`
|
||||
sqlStatement := `select card_id, k2_cmac_key from cards where uid='' and last_counter_value=0 and wiped='N';`
|
||||
|
||||
rows, err := db.Query(sqlStatement)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue