{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15728","repository_url":"https://api.github.com/repos/ethereum/go-ethereum","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15728/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15728/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15728/events","html_url":"https://github.com/ethereum/go-ethereum/issues/15728","id":283859373,"number":15728,"title":" insufficient funds for gas * price + value","user":{"login":"got3nks","id":907566,"avatar_url":"https://avatars2.githubusercontent.com/u/907566?v=4","gravatar_id":"","url":"https://api.github.com/users/got3nks","html_url":"https://github.com/got3nks","followers_url":"https://api.github.com/users/got3nks/followers","following_url":"https://api.github.com/users/got3nks/following{/other_user}","gists_url":"https://api.github.com/users/got3nks/gists{/gist_id}","starred_url":"https://api.github.com/users/got3nks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/got3nks/subscriptions","organizations_url":"https://api.github.com/users/got3nks/orgs","repos_url":"https://api.github.com/users/got3nks/repos","events_url":"https://api.github.com/users/got3nks/events{/privacy}","received_events_url":"https://api.github.com/users/got3nks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-12-21T11:54:42Z","updated_at":"2018-03-09T22:17:06Z","closed_at":null,"author_association":"NONE","body":"```\r\nGeth\r\nVersion: 1.7.3-stable\r\nGit Commit: 4bb3c89d44e372e6a9ab85a8be0c9345265c763a\r\nArchitecture: amd64\r\nProtocol Versions: [63 62]\r\nNetwork Id: 1\r\nGo Version: go1.9.2\r\nOperating System: linux\r\nGOPATH=\r\nGOROOT=/usr/local/go\r\n```\r\n\r\nWe have an address with a balance of 0.02138 ETH\r\n```\r\n> addr='0x....';\r\n> eth.getBalance(addr);\r\n21380000000000000\r\n```\r\nUsing gasPrice = 30 Gwei, gas = 21000, we expect 0.00063 ETH in transaction fee, so we try to send 0.02075 ETH.\r\n\r\n```\r\n    [gasPrice] => 0x6fc23ac00\r\n    [gas] => 0x5208\r\n    [value] => 0x49b803db16e000\r\n    [to] => 0x..\r\n    [from] => 0x..\r\n\r\n```\r\nFailing with 'insufficient funds for gas * price + value'. Why?"},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/371961005","html_url":"https://github.com/ethereum/go-ethereum/issues/15728#issuecomment-371961005","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/15728","id":371961005,"user":{"login":"EnchanterIO","id":3595242,"avatar_url":"https://avatars2.githubusercontent.com/u/3595242?v=4","gravatar_id":"","url":"https://api.github.com/users/EnchanterIO","html_url":"https://github.com/EnchanterIO","followers_url":"https://api.github.com/users/EnchanterIO/followers","following_url":"https://api.github.com/users/EnchanterIO/following{/other_user}","gists_url":"https://api.github.com/users/EnchanterIO/gists{/gist_id}","starred_url":"https://api.github.com/users/EnchanterIO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnchanterIO/subscriptions","organizations_url":"https://api.github.com/users/EnchanterIO/orgs","repos_url":"https://api.github.com/users/EnchanterIO/repos","events_url":"https://api.github.com/users/EnchanterIO/events{/privacy}","received_events_url":"https://api.github.com/users/EnchanterIO/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T22:17:06Z","updated_at":"2018-03-09T22:17:06Z","author_association":"NONE","body":"I have the same problem but maybe I am just doing something in a wrong way (trying to send my first transaction in my private network):\r\n\r\n> Geth\r\n> Version: 1.8.2-unstable\r\n> Architecture: amd64\r\n> Protocol Versions: [63 62]\r\n> Network Id: 1\r\n> Go Version: go1.8.3\r\n> Operating System: linux\r\n> GOPATH=/root/go/\r\n> GOROOT=/usr/lib/go-1.8\r\n\r\nRunning node as: \r\n\r\n`geth --datadir node1/  --port 30311 bla bla --gasprice '1' --targetgaslimit 94000000`\r\n\r\n`eth.getBalance(eth.coinbase);`\r\n2014\r\n`eth.gasPrice`\r\n1\r\n`eth.sendTransaction({'from':eth.coinbase, 'to':'0x581aadb31a2155becf8db3f6eecba6d2a5d55c55', 'value':web3.toWei(0x5, 'ether'), gas: 0x1})`\r\n\r\n**Error: insufficient funds for gas * price + value**\r\n\r\n(i tried to already change the gas for a higher value but without success). Any idea?"}}
{"actor":{"display_login":"EnchanterIO"}}