Skip to content

Commit

Permalink
[release 1.4.5] eth: fixed regression in eth_signTransaction fixes et…
Browse files Browse the repository at this point in the history
…hereum#2578

Sign transaction returned the unsigned transaction rather than the
signed one.

(cherry picked from commit 4b1a7d3)
  • Loading branch information
obscuren committed May 24, 2016
1 parent 7a7a5ac commit 0f6e3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ func (s *PublicTransactionPoolAPI) SignTransaction(args SignTransactionArgs) (*S
return nil, err
}

return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(tx)}, nil
return &SignTransactionResult{"0x" + common.Bytes2Hex(data), newTx(signedTx)}, nil
}

// PendingTransactions returns the transactions that are in the transaction pool and have a from address that is one of
Expand Down

0 comments on commit 0f6e3e8

Please sign in to comment.