Skip to content

Commit 7c1702d

Browse files
author
Brian Faust
committed
fix: invalid ID for second signature signed transactions
Signed-off-by: Brian Faust <[email protected]>
1 parent ce5c07c commit 7c1702d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## Unreleased
99

10+
## 0.2.2 - 2018-07-31
11+
12+
### Fixed
13+
- Properly calculate the transaction `id` for second signatures.
14+
1015
## 0.2.1 - 2018-07-20
1116

1217
### Fixed

src/Transactions/Builder/AbstractTransaction.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ public function sign(string $passphrase): self
9999
public function secondSign(string $secondPassphrase): self
100100
{
101101
$this->transaction = $this->transaction->secondSign(PrivateKey::fromPassphrase($secondPassphrase));
102+
$this->transaction->id = $this->transaction->getId();
102103

103104
return $this;
104105
}

0 commit comments

Comments
 (0)