rpcserver: Fix getcfilterheader RPC method's hex encoding for hash.

This commit is contained in:
Alex 2017-04-13 20:15:14 -06:00 committed by Olaoluwa Osuntokun
parent 92f1de6dd9
commit f11e87c957

View file

@ -2191,7 +2191,8 @@ func handleGetCFilterHeader(s *rpcServer, cmd interface{}, closeChan <-chan stru
}
}
return hex.EncodeToString(headerBytes), nil
hash.SetBytes(headerBytes)
return hash.String(), nil
}
// handleGetConnectionCount implements the getconnectioncount command.