Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Nov 17, 2024
2 parents 5f5acd6 + 643e31d commit c08e55e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion liteapi/pool/connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,12 @@ func Test_connection_FindMinAvailableMasterchainSeqno(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
pubkey, err := base64.StdEncoding.DecodeString(tt.key)
if err != nil {
panic(err)
t.Fatalf("pubkey decoding failed: %v", err)
}
c, err := liteclient.NewConnection(context.Background(), pubkey, tt.host)
if err != nil {
t.Fatalf("NewConnection() failed: %v", err)
}
conn := &connection{
client: liteclient.NewClient(c),
masterHeadUpdatedCh: make(chan masterHeadUpdated, 100),
Expand Down
2 changes: 1 addition & 1 deletion liteclient/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func TestGeneratedMethod6(t *testing.T) {
}
r, err := client.LiteServerGetDispatchQueueInfo(context.Background(), req)
if err != nil {
panic(err)
t.Fatalf("GetDispatchQueueInfo failed: %v", err)
}
for _, a := range r.AccountDispatchQueues {
addr := ton.AccountID{Workchain: 0, Address: a.Addr}
Expand Down

0 comments on commit c08e55e

Please sign in to comment.