rpcserver: Fix getcfilterheader RPC method's hex encoding for hash.
This commit is contained in:
parent
92f1de6dd9
commit
f11e87c957
1 changed files with 4 additions and 3 deletions
|
@ -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.
|
// handleGetConnectionCount implements the getconnectioncount command.
|
||||||
|
|
Loading…
Reference in a new issue