From dda4b5d9d77110216e9f0e2e9fd5f37dd7c2bdaa Mon Sep 17 00:00:00 2001 From: Raphael Roullet <10075759+ra-phael@users.noreply.github.com> Date: Fri, 23 Apr 2021 13:45:22 +0200 Subject: [PATCH] clarify init value by replacing zero with default value --- docs/contracts/inheritance.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts/inheritance.rst b/docs/contracts/inheritance.rst index c18cfd418..5beb226bd 100644 --- a/docs/contracts/inheritance.rst +++ b/docs/contracts/inheritance.rst @@ -388,7 +388,7 @@ which is executed upon contract creation, and where you can run contract initialisation code. Before the constructor code is executed, state variables are initialised to -their specified value if you initialise them inline, or zero if you do not. +their specified value if you initialise them inline, or their :ref:`default value` if you do not. After the constructor has run, the final code of the contract is deployed to the blockchain. The deployment of