swarm/swap: addressing PR comments

This commit is contained in:
Fabio Barone 2018-09-18 08:54:39 -05:00
parent 55f45d2523
commit 958a3fb447
2 changed files with 1 additions and 2 deletions

View file

@ -139,7 +139,7 @@ type RetrieveRequestMsg struct {
} }
//TODO: what is the correct price //TODO: what is the correct price
func (rrm *RetrieveRequestMsg) GetMsgPrice() *big.Int { func (rrm *RetrieveRequestMsg) Price() *big.Int {
return big.NewInt(int64(4096)) return big.NewInt(int64(4096))
} }

View file

@ -44,7 +44,6 @@ var (
longrunning = flag.Bool("longrunning", false, "do run long-running tests") longrunning = flag.Bool("longrunning", false, "do run long-running tests")
waitKademlia = flag.Bool("waitkademlia", false, "wait for healthy kademlia before checking files availability") waitKademlia = flag.Bool("waitkademlia", false, "wait for healthy kademlia before checking files availability")
printStats = flag.Bool("printstats", false, "print accounting stats to STDOUT") printStats = flag.Bool("printstats", false, "print accounting stats to STDOUT")
bucketKeySwap = simulation.BucketKey("swap")
bucketKeySwarm = simulation.BucketKey("swarm") bucketKeySwarm = simulation.BucketKey("swarm")
) )