1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 23:42:20 +08:00

move signing options into a validation checker struct

This commit is contained in:
Jeromy
2015-02-25 14:56:26 -08:00
parent 049b5ad945
commit 7fb63d7e43
13 changed files with 65 additions and 21 deletions

View File

@ -22,7 +22,7 @@ type client struct {
}
// FIXME(brian): is this method meant to simulate putting a value into the network?
func (c *client) PutValue(ctx context.Context, key u.Key, val []byte, sign bool) error {
func (c *client) PutValue(ctx context.Context, key u.Key, val []byte) error {
log.Debugf("PutValue: %s", key)
return c.datastore.Put(key.DsKey(), val)
}