From 42597057afd2b6e315ac3bba75914435a215633d Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 31 Jul 2023 18:31:32 -0600 Subject: [PATCH] Fixed IDSignal --- signal.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/signal.go b/signal.go index cacfde9..5ec96d2 100644 --- a/signal.go +++ b/signal.go @@ -161,7 +161,7 @@ func NewErrorSignal(req_id uuid.UUID, err error) ErrorSignal { type IDSignal struct { BaseSignal - ID NodeID `json:"id"` + NodeID `json:"id"` } func (signal IDSignal) Serialize() ([]byte, error) { @@ -179,7 +179,7 @@ func (signal IDSignal) String() string { func NewIDSignal(signal_type SignalType, direction SignalDirection, id NodeID) IDSignal { return IDSignal{ BaseSignal: NewBaseSignal(signal_type, direction), - ID: id, + NodeID: id, } }