This commit is contained in:
Peter Rounce 2023-02-28 17:45:00 +00:00
parent 62c0db37d5
commit c5f70a2866
3 changed files with 9 additions and 19 deletions

View file

@ -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)