Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transaction receipt in 0 #383

Closed
cubo1123 opened this issue Feb 23, 2018 · 1 comment
Closed

Transaction receipt in 0 #383

cubo1123 opened this issue Feb 23, 2018 · 1 comment

Comments

@cubo1123
Copy link

cubo1123 commented Feb 23, 2018

when i made a transaction since a existing contract created since the terminal of web3j the transaction giveme the transaction hash, but when i check since web3j if the contract was minned giveme a only 0 in the logbloom even when i send information in the contract

            val web3 = Web3jFactory.build(http)
BigInteger(credentialsOne.ecKeyPair.publicKey.toString()))
            val k = ECKeyPair.create(BigInteger("12962643466516187083677192269796504817676910466114562374395991275550732627572"))
            val credentialsOne = Credentials.create(k)
            Log.e("1123 private",credentialsOne.ecKeyPair.privateKey.toString())
            Log.e("1123 public",credentialsOne.ecKeyPair.publicKey.toString())
            Log.e("1123 address",credentialsOne.address)
            val bowheadToken = BowheadToken.load("0xe84d89f7b0c2b8bb7f0b9efe9a48ec86b9bee819",web3,credentialsOne, BigInteger("21000"),BigInteger("35000"))
                Log.e("1123",bowheadToken.balanceOf("0xdb098e515d30591330caed868aa232ec30c3d730").send().abs().toString())
                val hash = bowheadToken.transfer("0x1e767ba633e3fce47d261f3b0ab3804d4e95cc6d",BigInteger("10")).send().transactionHash
val tr = web3.ethGetTransactionReceipt(hash).send()```
@cubo1123
Copy link
Author

cubo1123 commented Mar 7, 2018

just put more gas

@cubo1123 cubo1123 closed this as completed Mar 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant