update lnd grpc
This commit is contained in:
parent
44b2f0ba6e
commit
05ac1e8aea
4 changed files with 1119 additions and 28 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue