Skip to content
Snippets Groups Projects
Commit 799fbff7 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

GetGatewayId() should be running off Gateway struct, not Node

parent 516a65a4
No related branches found
No related tags found
No related merge requests found
......@@ -233,7 +233,7 @@ func (n *Node) GetNodeId() (*id.ID, error) {
}
// GetGatewayId formats the gateway id into the id format specified in the id package of this repo
func (n *Node) GetGatewayId() (*id.ID, error) {
func (n *Gateway) GetGatewayId() (*id.ID, error) {
newID, err := id.Unmarshal(n.ID)
if err != nil {
return nil, err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment