From ef11fb85ca20ffa4c8e28fd2e4afac56117b3d4c Mon Sep 17 00:00:00 2001 From: Yawning Angel Date: Thu, 7 Apr 2022 17:30:51 +0000 Subject: [PATCH] go/consensus/api/transactions: Fix OpenRawTransactions --- .changelog/4653.trivial.md | 1 + go/consensus/api/transaction/transaction.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .changelog/4653.trivial.md diff --git a/.changelog/4653.trivial.md b/.changelog/4653.trivial.md new file mode 100644 index 00000000000..36727a4e1de --- /dev/null +++ b/.changelog/4653.trivial.md @@ -0,0 +1 @@ +go/consensus/api/transactions: Fix OpenRawTransactions diff --git a/go/consensus/api/transaction/transaction.go b/go/consensus/api/transaction/transaction.go index 3905d0b020a..5411610879d 100644 --- a/go/consensus/api/transaction/transaction.go +++ b/go/consensus/api/transaction/transaction.go @@ -243,8 +243,8 @@ func OpenRawTransactions(rawTxBytes [][]byte) ([]signature.PublicKey, []*Transac verifier.Add( publicKeys[i], SignatureContext, - signedTxes[i].Signed.Signature.Signature[:], signedTxes[i].Signed.Blob, + signedTxes[i].Signed.Signature.Signature[:], ) default: verifier.AddError(err)