Skip to content

Commit 82e89b2

Browse files
committed
add temp key to validator config one more time
1 parent ac7fa24 commit 82e89b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mytoncore/mytoncore.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
from modules import MODES
1515
from modules.btc_teleport import BtcTeleportModule
16+
from mytoncore import b642hex
1617
from mytoncore.utils import xhex2hex, ng2g
1718
from mytoncore.liteclient import LiteClient
1819
from mytoncore.validator_console import ValidatorConsole
@@ -1456,6 +1457,7 @@ def ElectionEntry(self, args=None):
14561457

14571458
# Create keys
14581459
validatorKey = self.GetValidatorKeyByTime(startWorkTime, endWorkTime)
1460+
self.AddKeyToTemp(validatorKey, endWorkTime) # add one more time to ensure it is in temp keys
14591461
validatorPubkey_b64 = self.GetPubKeyBase64(validatorKey)
14601462

14611463
# Attach ADNL addr to validator

0 commit comments

Comments
 (0)