From 58e2da0a67f31b7ceac3095419a5babc59746ed8 Mon Sep 17 00:00:00 2001 From: ditatompel Date: Mon, 3 Jun 2024 22:15:32 +0700 Subject: [PATCH] Change `NodeInfo` struct to `Node` Adapt with previous commit ref 20d8d67 --- cmd/client/probe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/client/probe.go b/cmd/client/probe.go index cc132c0..f35b345 100644 --- a/cmd/client/probe.go +++ b/cmd/client/probe.go @@ -284,7 +284,7 @@ func (p *proberClient) reportResult(node monero.Node, tookTime float64) error { jsonData, err := json.Marshal(monero.ProbeReport{ TookTime: tookTime, Message: p.message, - NodeInfo: node, + Node: node, }) if err != nil { return err