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, } }