mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
swarm/network/stream: gofmt simplify stream.go
This commit is contained in:
parent
bc9c966052
commit
e065811f7f
1 changed files with 2 additions and 2 deletions
|
|
@ -788,12 +788,12 @@ func (r *Registry) createPriceOracle() {
|
||||||
registry: r,
|
registry: r,
|
||||||
}
|
}
|
||||||
po.priceMatrix = map[reflect.Type]*protocols.Price{
|
po.priceMatrix = map[reflect.Type]*protocols.Price{
|
||||||
reflect.TypeOf(ChunkDeliveryMsgRetrieval{}): &protocols.Price{
|
reflect.TypeOf(ChunkDeliveryMsgRetrieval{}): {
|
||||||
Value: uint64(100),
|
Value: uint64(100),
|
||||||
PerByte: true,
|
PerByte: true,
|
||||||
Payer: protocols.Receiver,
|
Payer: protocols.Receiver,
|
||||||
},
|
},
|
||||||
reflect.TypeOf(RetrieveRequestMsg{}): &protocols.Price{
|
reflect.TypeOf(RetrieveRequestMsg{}): {
|
||||||
Value: uint64(10),
|
Value: uint64(10),
|
||||||
PerByte: false,
|
PerByte: false,
|
||||||
Payer: protocols.Sender,
|
Payer: protocols.Sender,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue