mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
add pull cli flag to start swarm download
This commit is contained in:
commit
86a6792db1
1 changed files with 1 additions and 1 deletions
|
|
@ -268,7 +268,7 @@ func (s *Ethereum) Start(seed bool, p string, pull string) error {
|
|||
}
|
||||
|
||||
if len(pull) > 0 {
|
||||
reader := s.dpa.Retrieve(pull)
|
||||
reader := s.dpa.Retrieve([]byte(pull))
|
||||
fo, err := os.Open("/tmp/swarm.tmp")
|
||||
if err != nil {
|
||||
logger.Warnf("file open error %v", err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue