From 60ccf2c10f84b3f8e35f8fbfc9cc63ff760f1228 Mon Sep 17 00:00:00 2001 From: "aleksej.paschenko" Date: Wed, 10 Jul 2024 08:52:08 +0300 Subject: [PATCH] Tonconnect to support wallet v5r1 --- tonconnect/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tonconnect/server.go b/tonconnect/server.go index 9be2e811..4b86f79d 100644 --- a/tonconnect/server.go +++ b/tonconnect/server.go @@ -89,7 +89,7 @@ func NewTonConnect(executor abi.Executor, secret string, opts ...Option) (*Serve var knownHashes = make(map[string]wallet.Version) func init() { - for i := wallet.Version(0); i <= wallet.V5Beta; i++ { + for i := wallet.Version(0); i <= wallet.V5R1; i++ { ver := wallet.GetCodeHashByVer(i) knownHashes[hex.EncodeToString(ver[:])] = i }