Skip to content

Commit 64c16fc

Browse files
committed
replace AddLog usages
1 parent 5deb623 commit 64c16fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mytoncore/mytoncore.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ def SignBocWithWallet(self, wallet, boc_path, dest, coins, **kwargs):
11801180
if bounceable == False and destAccount.status == "active":
11811181
flags += ["--force-bounce"]
11821182
text = "Find non-bounceable flag, but destination account already active. Using bounceable flag"
1183-
self.local.AddLog(text, "warning")
1183+
self.local.add_log(text, "warning")
11841184
elif "-n" not in flags and bounceable == True and destAccount.status != "active":
11851185
raise Exception("Find bounceable flag, but destination account is not active. Use non-bounceable address or flag -n")
11861186
#end if
@@ -1706,10 +1706,10 @@ def CreateHighWallet(self, name, **kwargs):
17061706
subwallet_default = 698983191 + workchain # 0x29A9A317 + workchain
17071707
subwallet = kwargs.get("subwallet", subwallet_default)
17081708
version = kwargs.get("version", "hv1")
1709-
self.local.AddLog("start CreateHighWallet function", "debug")
1709+
self.local.add_log("start CreateHighWallet function", "debug")
17101710
wallet_path = self.walletsDir + name
17111711
if os.path.isfile(wallet_path + ".pk") and os.path.isfile(wallet_path + str(subwallet) + ".addr"):
1712-
self.local.AddLog("CreateHighWallet error: Wallet already exists: " + name + str(subwallet), "warning")
1712+
self.local.add_log("CreateHighWallet error: Wallet already exists: " + name + str(subwallet), "warning")
17131713
else:
17141714
args = ["new-highload-wallet.fif", workchain, subwallet, wallet_path]
17151715
result = self.fift.Run(args)

0 commit comments

Comments
 (0)