mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/devp2p: fix typo
This commit is contained in:
parent
1098aef26a
commit
d85ee4d5d4
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ func ensureValidTreeSignature(t *dnsdisc.Tree, pubkey *ecdsa.PublicKey, sig stri
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// writeTreeMetadata writes a DNS node tree metata file to the given directory.
|
// writeTreeMetadata writes a DNS node tree metadata file to the given directory.
|
||||||
func writeTreeMetadata(directory string, def *dnsDefinition) {
|
func writeTreeMetadata(directory string, def *dnsDefinition) {
|
||||||
metaJSON, err := json.MarshalIndent(&def.Meta, "", jsonIndent)
|
metaJSON, err := json.MarshalIndent(&def.Meta, "", jsonIndent)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue