refactor: add getter for nodeId

This commit is contained in:
Derrick Hammer 2024-01-08 08:40:18 -05:00
parent 61faaf5694
commit 3c1a9cc526
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@ type SignedMessage struct {
base.IncomingMessageTypedImpl
}
func (s *SignedMessage) NodeId() *encoding.NodeId {
return s.nodeId
}
func (s *SignedMessage) SetNodeId(nodeId *encoding.NodeId) {
s.nodeId = nodeId
}