This commit is contained in:
arnaucube
2019-04-14 21:16:51 +02:00
parent fd30384b23
commit 583980f546
3 changed files with 30 additions and 0 deletions

View File

@@ -28,6 +28,10 @@ func NewNode(privK *ecdsa.PrivateKey, bc *core.Blockchain, isMiner bool) (*Node,
return node, nil
}
func (node *Node) Start() error {
return nil
}
func (node *Node) Sign(m []byte) (*core.Signature, error) {
return core.Sign(node.PrivK, m)
}