Commit 8dd75ac0 authored by Janoš Guljaš's avatar Janoš Guljaš Committed by GitHub

add p2p.Peer json tag to Address field as it is returned by debug api (#85)

parent dfa4c0dc
...@@ -51,7 +51,7 @@ type StreamSpec struct { ...@@ -51,7 +51,7 @@ type StreamSpec struct {
// Peer holds information about a Peer. // Peer holds information about a Peer.
type Peer struct { type Peer struct {
Address swarm.Address Address swarm.Address `json:"address"`
} }
// HandlerFunc handles a received Stream from a Peer. // HandlerFunc handles a received Stream from a Peer.
......
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