types: SignatureEd25519 -> Signature

This commit is contained in:
Ethan Buchman
2016-12-18 00:10:14 -05:00
parent dcbb35089f
commit 38783e7fa1
5 changed files with 13 additions and 14 deletions

View File

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