Skip to content

Commit

Permalink
Fixed SignedTransaction.ID()
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsporn committed Oct 10, 2023
1 parent 672944a commit 9c9e0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion signed_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type SignedTransaction struct {

// ID computes the ID of the SignedTransaction.
func (t *SignedTransaction) ID() (SignedTransactionID, error) {
transactionBytes, err := t.API.Encode(t.Unlocks)
transactionBytes, err := t.API.Encode(t.Transaction)
if err != nil {
return EmptySignedTransactionID, ierrors.Errorf("can't compute unlock bytes: %w", err)
}
Expand Down

0 comments on commit 9c9e0ed

Please sign in to comment.