Skip to content

sendTransaction sends unexpected amount of ether #762

@tinybike

Description

@tinybike

I'm attempting to send ether via the geth console, started with geth --rpc --rpccorsdomain "http://127.0.0.1:8545" --unlock primary console:

eth.sendTransaction({
    from: "0x63524e3fe4791aefce1e932bbfb3fdf375bfad89",
    to: "0x1c11aa45c792e202e9ffdc2f12f99d0d209bef70",
    value: "100000000000000000000"}
);

But when I look up the transaction hash, I've only sent 7.76 ether!

{
  hash: '0xac4139e6a805ba4d9523370cd4da042722f63ae097867c0b5faf694cc9d39f1a',
  nonce: '0x6',
  from: '0x63524e3fe4791aefce1e932bbfb3fdf375bfad89',
  to: '0x1c11aa45c792e202e9ffdc2f12f99d0d209bef70',
  gas: 90000,
  input: '0x',
  blockHash: '0xfbc1a79623f9d220d52f0f0a675a2495d9ba01b58b3def108c26cfa04db49178',
  blockNumber: 137480,
  transactionIndex: 0,
  value: '7766279631452241920',
  gasPrice: '10000000000000'
}

I've also tried using BigNumber.toString (base-10 and hex), both with the same result. Any idea what's going on here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions