Commit 4b1a7d38 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke

eth: fixed regression in eth_signTransaction fixes #2578

Sign transaction returned the unsigned transaction rather than the
signed one.
parent c8a8ad97
...@@ -1353,7 +1353,7 @@ func (s *PublicTransactionPoolAPI) SignTransaction(args SignTransactionArgs) (*S ...@@ -1353,7 +1353,7 @@ func (s *PublicTransactionPoolAPI) SignTransaction(args SignTransactionArgs) (*S
return nil, err 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 // PendingTransactions returns the transactions that are in the transaction pool and have a from address that is one of
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment