refactor: add getter for nodeId
This commit is contained in:
parent
61faaf5694
commit
3c1a9cc526
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue