mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
swarm/pss: Run gofmt on pss.go
This commit is contained in:
parent
d50fb250f0
commit
ca3bec1687
1 changed files with 2 additions and 2 deletions
|
|
@ -190,7 +190,7 @@ var pssSpec = &protocols.Spec{
|
||||||
|
|
||||||
func (self *Pss) Protocols() []p2p.Protocol {
|
func (self *Pss) Protocols() []p2p.Protocol {
|
||||||
return []p2p.Protocol{
|
return []p2p.Protocol{
|
||||||
p2p.Protocol{
|
{
|
||||||
Name: pssSpec.Name,
|
Name: pssSpec.Name,
|
||||||
Version: pssSpec.Version,
|
Version: pssSpec.Version,
|
||||||
Length: pssSpec.Length(),
|
Length: pssSpec.Length(),
|
||||||
|
|
@ -209,7 +209,7 @@ func (self *Pss) Run(p *p2p.Peer, rw p2p.MsgReadWriter) error {
|
||||||
|
|
||||||
func (self *Pss) APIs() []rpc.API {
|
func (self *Pss) APIs() []rpc.API {
|
||||||
apis := []rpc.API{
|
apis := []rpc.API{
|
||||||
rpc.API{
|
{
|
||||||
Namespace: "pss",
|
Namespace: "pss",
|
||||||
Version: "1.0",
|
Version: "1.0",
|
||||||
Service: NewAPI(self),
|
Service: NewAPI(self),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue