Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-routing
Commits
a60359e9
Commit
a60359e9
authored
Feb 27, 2018
by
Hector Sanjuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix with newer go-libp2p-record
parent
c31f05a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
offline/offline.go
offline/offline.go
+1
-4
No files found.
offline/offline.go
View file @
a60359e9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment