mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
fix hex2bytes in backend
This commit is contained in:
parent
e2fe474856
commit
33126ae7a2
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 {
|
||||
key := []byte(pull)
|
||||
key := ethutil.Hex2Bytes(pull)
|
||||
reader := s.dpa.Retrieve(key)
|
||||
logger.Debugf("retrieved reader for %064x", key)
|
||||
fo, err := os.OpenFile("/tmp/swarm.tmp", os.O_CREATE|os.O_RDWR, 0666)
|
||||
|
|
|
|||
Loading…
Reference in a new issue