Skip to content
Permalink
Browse files

fix: ledger transaction signing

  • Loading branch information...
alexbarnsley committed Apr 19, 2019
1 parent 906d4d9 commit ae84d5440e1494e1f706bae0a826212eec742521
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/renderer/services/transaction.js
@@ -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

0 comments on commit ae84d54

Please sign in to comment.
You can’t perform that action at this time.