Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Jul 30, 2021
1 parent 0c56071 commit fcbc827
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion privval/dash_core_signer_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func (sc *DashCoreSignerClient) SignVote(chainID string, quorumType btcjson.LLMQ
proTxHash, err := sc.GetProTxHash()


signID := crypto.SignId(sc.defaultQuorumType, bls12381.ReverseBytes(quorumHash), bls12381.ReverseBytes(blockRequestId), bls12381.ReverseBytes(blockMessageHash))
signID := crypto.SignId(quorumType, bls12381.ReverseBytes(quorumHash), bls12381.ReverseBytes(blockRequestId), bls12381.ReverseBytes(blockMessageHash))

logger.Debug("signed vote", "height", protoVote.Height, "round", protoVote.Round, "quorumType", quorumType,
"quorumHash", quorumHash, "signature", blockDecodedSignature, "signBytes", blockSignBytes, "proTxHash", proTxHash,
Expand Down

0 comments on commit fcbc827

Please sign in to comment.