Skip to content

Commit

Permalink
Make SetNodesigningKey public. (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenlu authored Dec 15, 2023
2 parents a6322c3 + 4659fa4 commit d5b19ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/lightspark_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -775,13 +775,13 @@ func (client *LightsparkClient) LoadNodeSigningKey(nodeId string, loader Signing
client.nodeKeys[nodeId] = nodeKey
}

// setNodesigningKey directly sets the signing key of a node in the client.
// SetNodeSigningKey directly sets the signing key of a node in the client.
//
// Args:
//
// nodeId: The ID of the node.
// key: The SigningKey of the node.
func (client *LightsparkClient) setNodesigningKey(nodeId string, key requester.SigningKey) {
func (client *LightsparkClient) SetNodeSigningKey(nodeId string, key requester.SigningKey) {
client.nodeKeys[nodeId] = key
}

Expand Down

0 comments on commit d5b19ec

Please sign in to comment.