Commit a60359e9 authored by Hector Sanjuan's avatar Hector Sanjuan

fix with newer go-libp2p-record

parent c31f05a1
......@@ -42,10 +42,7 @@ type offlineRouting struct {
}
func (c *offlineRouting) PutValue(ctx context.Context, key string, val []byte) error {
rec, err := record.MakePutRecord(c.sk, key, val, false)
if err != nil {
return err
}
rec := record.MakePutRecord(key, val)
data, err := proto.Marshal(rec)
if err != nil {
return err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment