fix hex2bytes in backend

This commit is contained in:
zelig 2015-02-13 12:59:50 +01:00
parent e2fe474856
commit 33126ae7a2

View file

@ -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)