hotfix response signing

This commit is contained in:
core 2023-06-24 10:54:52 -04:00
parent c69ef348c2
commit e4d71fd62f
Signed by: core
GPG Key ID: FDBF740DADDCEECF
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "trifid-api"
version = "0.1.2"
version = "0.1.3"
edition = "2021"
description = "Pure-rust Defined Networking compatible management server"
license = "GPL-3.0-or-later"

View File

@ -322,7 +322,7 @@ pub async fn dnclient(
let signing_key = host_in_ks
.signing_keys
.iter()
.find(|u| u.id == (req.counter as u64) - 1)
.find(|u| u.id == (req.counter as u64))
.unwrap();
let msg = DoUpdateResponse {