eth: fixed regression in eth_signTransaction fixes #2578

Sign transaction returned the unsigned transaction rather than the
signed one.
pull/2582/head
Jeffrey Wilcke 9 years ago
parent c8a8ad97f7
commit 4b1a7d3868
  1. 2
      eth/api.go

@ -1353,7 +1353,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

Loading…
Cancel
Save