Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
fix: ledger transaction signing
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarnsley committed Apr 19, 2019
1 parent 906d4d9 commit ae84d54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/renderer/services/transaction.js
Expand Up @@ -31,6 +31,7 @@ export default class TransactionService {
transactionObject.senderPublicKey(wallet.publicKey)
transactionObject.sign('passphrase') // Sign with a "fake" passphrase to get the transaction structure
const transaction = transactionObject.getStruct()
transaction.senderPublicKey = wallet.publicKey // Restore original sender public key

if (transactionObject.data.type === TRANSACTION_TYPES.VOTE) {
transaction.recipientId = wallet.address
Expand Down

0 comments on commit ae84d54

Please sign in to comment.