Commit 7a2395ed authored by acud's avatar acud Committed by GitHub

node: define content addressed validator first (#833)

parent 3388af39
......@@ -342,7 +342,7 @@ func NewBee(addr string, swarmAddress swarm.Address, publicKey ecdsa.PublicKey,
}
b.localstoreCloser = storer
chunkvalidator := swarm.NewChunkValidator(soc.NewValidator(), content.NewValidator())
chunkvalidator := swarm.NewChunkValidator(content.NewValidator(), soc.NewValidator())
retrieve := retrieval.New(swarmAddress, storer, p2ps, kad, logger, acc, accounting.NewFixedPricer(swarmAddress, 10), chunkvalidator, tracer)
tagg := tags.NewTags(stateStore, logger)
......
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