fix error

This commit is contained in:
Florent
2026-03-08 15:10:28 -04:00
parent 5e4663d058
commit f3fce820fc
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project] [project]
name = "meshcore" name = "meshcore"
version = "2.2.30" version = "2.2.31"
authors = [ authors = [
{ name="Florent de Lamotte", email="florent@frizoncorrea.fr" }, { name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
{ name="Alex Wolden", email="awolden@gmail.com" }, { name="Alex Wolden", email="awolden@gmail.com" },

View File

@@ -551,7 +551,7 @@ class MessageReader:
res = {} res = {}
attributes = {} attributes = {}
pbuf.read(1) dbuf.read(1)
if len(data) > 7: if len(data) > 7:
res["pubkey_prefix"] = pbuf.read(6).hex() res["pubkey_prefix"] = pbuf.read(6).hex()