Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New execution approach #53

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func (client *Client) executeAsynchronously(data interface{}) (*TONResult, error
num := 0
for result == nil {
if num >= DefaultRetries {
return &TONResult{}, fmt.Errorf("Client.executeAsynchronously: exided limit of retries to get json response from TON C`s lib. ")
return &TONResult{}, fmt.Errorf("Client.executeAsynchronously: exceed limit of retries to get json response from TON C`s lib. ")
}
time.Sleep(1 * time.Second)
result = C.tonlib_client_json_receive(client.client, DEFAULT_TIMEOUT)
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/createPrivateKey.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"log"
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/deletePrivateKey.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/estimateFee.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/base64"
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"log"
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/exportPrivateKey.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/base64"
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"os/signal"

"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/rawAccountState.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"log"
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/sendFile.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"io/ioutil"
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/sendGramm.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/base64"
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"log"
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/sendMessage.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"log"
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/walletAddress.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/base64"
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/tongo/walletState.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/base64"
"errors"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"github.com/spf13/cobra"
"os"
)
Expand Down
2 changes: 1 addition & 1 deletion example/send_gram.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"encoding/base64"
"fmt"
"github.com/mercuryoio/tonlib-go"
"github.com/varche1/tonlib-go"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/mercuryoio/tonlib-go
module github.com/varche1/tonlib-go

go 1.13

Expand Down
4 changes: 2 additions & 2 deletions lib/lib.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package linux

import (
_ "github.com/mercuryoio/tonlib-go/lib/darwin"
_ "github.com/mercuryoio/tonlib-go/lib/linux"
_ "github.com/varche1/tonlib-go/lib/darwin"
_ "github.com/varche1/tonlib-go/lib/linux"
)
Binary file modified lib/linux/libtonlib.a
Binary file not shown.
Binary file removed lib/linux/libtonlibjson.so
Binary file not shown.
1 change: 1 addition & 0 deletions lib/linux/libtonlibjson.so
Binary file modified lib/linux/libtonlibjson.so.0.5
Binary file not shown.
Binary file modified lib/linux/libtonlibjson_private.a
Binary file not shown.
Loading