File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -264,9 +264,10 @@ The following methods are available on the ``web3.geth.personal`` namespace.
264264
265265 * Delegates to ``personal_unlockAccount `` RPC Method
266266
267- Unlocks the given ``account `` for ``duration `` seconds. If ``duration `` is
268- ``None `` then the account will remain unlocked indefinitely. Returns
269- boolean as to whether the account was successfully unlocked.
267+ Unlocks the given ``account `` for ``duration `` seconds. If ``duration `` is
268+ ``None `` then the account will remain unlocked for 300 seconds (which is current default by Geth v1.9.5),
269+ if ``duration `` is set to ``0 ``, the account will remain unlocked indefinitely.
270+ Returns boolean as to whether the account was successfully unlocked.
270271
271272 .. code-block :: python
272273
You can’t perform that action at this time.
0 commit comments