Update to latest go-crypto, adjust code and tests

This commit is contained in:
Ethan Frey
2017-04-27 15:53:49 +02:00
parent 787cf0ebac
commit b6ebf9f8b8
11 changed files with 39 additions and 49 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ func TestIBCPluginBadCommit(t *testing.T) {
// Modify the first byte of the first signature
sig := commit.Precommits[0].Signature.Unwrap().(crypto.SignatureEd25519)
sig[0] += 1
commit.Precommits[0].Signature = crypto.WrapSignature(sig)
commit.Precommits[0].Signature = sig.Wrap()
res = ibcPlugin.RunTx(store, ctx, wire.BinaryBytes(struct{ IBCTx }{IBCUpdateChainTx{
Header: header,
Commit: commit,