mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +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,
|
||||
}
|
||||
po.priceMatrix = map[reflect.Type]*protocols.Price{
|
||||
reflect.TypeOf(ChunkDeliveryMsgRetrieval{}): &protocols.Price{
|
||||
reflect.TypeOf(ChunkDeliveryMsgRetrieval{}): {
|
||||
Value: uint64(100),
|
||||
PerByte: true,
|
||||
Payer: protocols.Receiver,
|
||||
},
|
||||
reflect.TypeOf(RetrieveRequestMsg{}): &protocols.Price{
|
||||
reflect.TypeOf(RetrieveRequestMsg{}): {
|
||||
Value: uint64(10),
|
||||
PerByte: false,
|
||||
Payer: protocols.Sender,
|
||||
|
|
|
|||
Loading…
Reference in a new issue