1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-26 00:00:42 +08:00
This commit is contained in:
JerryXiao 2021-04-24 23:04:25 +08:00
parent 60180d50c7
commit 98460975b5
Signed by: Jerry
GPG key ID: 22618F758B5BE2E5

View file

@ -188,9 +188,8 @@ def export_dnssec_dnskey():
zonekey["zone"] = zone zonekey["zone"] = zone
else: else:
assert zonekey["zone"] == zone assert zonekey["zone"] == zone
str_dnskey = " ".join(dnskey)
zonekey["records"].append({ zonekey["records"].append({
"dnskey": str_dnskey, "dnskey": " ".join(dnskey),
"ds": ds_from_dnskey(zone, *dnskey), "ds": ds_from_dnskey(zone, *dnskey),
}) })
if zonekey["zone"]: if zonekey["zone"]: