update lnd grpc

This commit is contained in:
Peter Rounce 2022-08-26 05:14:36 +00:00
parent 44b2f0ba6e
commit 05ac1e8aea
4 changed files with 1119 additions and 28 deletions

View file

@ -109,9 +109,13 @@ func setup_card_record(uid string, ctr uint32, uid_bin []byte, ctr_bin []byte, c
if err != nil {
return err
}
return nil
}
}
log.Info("card record not found")
return nil
}
@ -182,7 +186,6 @@ func parse_request(req *http.Request) (int, error) {
if card_count == 0 {
setup_card_record(uid_str, ctr_int, uid, ctr, ba_c)
return 0, errors.New("card uid & ctr setup only")
}
if card_count > 1 {