Skip to content

Commit 23680d0

Browse files
fix: use network to calculate recipient address when signing vote transaction (#171)
1 parent 991f692 commit 23680d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/arkecosystem/crypto/transactions/builder/VoteBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public VoteBuilder addVote(String vote) {
2424
}
2525

2626
public VoteBuilder sign(String passphrase) {
27-
this.transaction.recipientId = Address.fromPassphrase(passphrase);
27+
this.transaction.recipientId = Address.fromPassphrase(passphrase, this.transaction.network);
2828

2929
super.sign(passphrase);
3030

0 commit comments

Comments
 (0)