This is a follow-up to this question. The accepted answer says:
Yes, contracts have nonces. A nonce of a contract is only incremented when that contract creates another contract [...]. When a contract invokes a function on another contract, a so called "internal transaction" (in http://live.ether.camp), the nonce is not incremented.
The nonce can be obtained by using
web3.eth.getTransactionCount
.
So far, so good. But when I use web3.eth.getTransactionCount
with a recently deployed contract, the value is 1, not 0, despite that contract not having created any other contract.
Why is that happening?