mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-09 01:26:19 +00:00
types: SignatureEd25519 -> Signature
This commit is contained in:
@@ -134,7 +134,7 @@ func signCommit(height, round int, hash []byte, header types.PartSetHeader) *typ
|
||||
}
|
||||
|
||||
sig := privKey.Sign(types.SignBytes(chainID, vote))
|
||||
vote.Signature = sig.(crypto.SignatureEd25519)
|
||||
vote.Signature = sig
|
||||
return vote
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user