Skip to content

Commit 1bf9567

Browse files
authored
Merge pull request #521 from tonlabs/1.26.1-rc
Version 1.26.1
2 parents 7fe2996 + 174f856 commit 1bf9567

File tree

11 files changed

+16
-10
lines changed

11 files changed

+16
-10
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.26.1] – 2021-12-01
6+
7+
### Fixed
8+
- Fixed building and warning.
9+
510
## [1.26.0] – 2021-11-25
611

712
### New

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,6 @@ Instead of building library yourself, you can download the **latest** precompile
214214
| Linux | 0 | [`libton_client.so`](https://binaries.tonlabs.io/tonclient\_0\_linux.gz) |
215215
| | 1 | [`libton_client.so`](https://binaries.tonlabs.io/tonclient\_1\_linux.gz) |
216216

217-
If you want an older version of library (e.g. `0.25.0` for macOS), you need to choose a link to your platform from the list above and replace `0` with a version: [https://binaries.tonlabs.io/tonclient\_**0\_25\_0**\_darwin.gz](http://sdkbinaries.tonlabs.io/tonclient\_0\_25\_0\_darwin.gz)
217+
If you want an older version of library (e.g. `0.25.0` for macOS), you need to choose a link to your platform from the list above and replace `0` with a version: [https://binaries.tonlabs.io/tonclient\_**0\_25\_0**\_darwin.gz](https://binaries.tonlabs.io/tonclient\_0\_25\_0\_darwin.gz)
218218

219219
_Downloaded archive is gzipped file_

api/derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "api_derive"
3-
version = "1.26.0"
3+
version = "1.26.1"
44
authors = ["TON DEV SOLUTIONS LTD <[email protected]>"]
55
edition = "2018"
66

api/info/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "api_info"
3-
version = "1.26.0"
3+
version = "1.26.1"
44
authors = ["TON DEV SOLUTIONS LTD <[email protected]>"]
55
edition = "2018"
66

api/test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "api_test"
3-
version = "1.26.0"
3+
version = "1.26.1"
44
authors = ["TON DEV SOLUTIONS LTD <[email protected]>"]
55
edition = "2018"
66

ton_client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ton_client"
3-
version = "1.26.0"
3+
version = "1.26.1"
44
authors = ["TON DEV SOLUTIONS LTD <[email protected]>"]
55
edition = "2018"
66
license = "Apache-2.0"
@@ -63,7 +63,7 @@ serde_json = "1.0.41"
6363
serde_repr = "0.1.7"
6464
sha2 = "0.9.5"
6565
tokio = { version = "0.2.13", features = ["sync", "stream", "fs"], default-features = false }
66-
zstd = { version = "0.7.0", default-features = false }
66+
zstd = { version = "0.8.0", default-features = false }
6767
# TODO: remove fixed versioning when indexmap compilation issue is resolved
6868
indexmap = "=1.6.2"
6969
# TODO: remove fixed versioning when tiny-bip39 compilation issue is resolved

ton_client/src/crypto/nacl.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ pub fn nacl_sign_detached_verify(
188188
let public = ed25519_dalek::PublicKey::from_bytes(&hex_decode(&params.public)?)
189189
.map_err(|err| Error::invalid_public_key(err, &params.public))?;
190190
let message = base64_decode(&params.unsigned)?;
191-
let signature = ed25519_dalek::Signature::new(key512(&hex_decode(&params.signature)?)?);
191+
let signature = ed25519_dalek::Signature::from_bytes(&key512(&hex_decode(&params.signature)?)?)
192+
.map_err(|err| Error::invalid_signature(err, &params.signature))?;
192193
let succeeded = public.verify(&message, &signature).is_ok();
193194
Ok(ResultOfNaclSignDetachedVerify { succeeded })
194195
}
3.87 KB
Binary file not shown.

ton_sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ton_sdk"
3-
version = "1.26.0"
3+
version = "1.26.1"
44
edition = "2018"
55
license = "Apache-2.0"
66
authors = ["TON DEV SOLUTIONS LTD <[email protected]>"]

toncli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "toncli"
3-
version = "1.26.0"
3+
version = "1.26.1"
44
description = "TON CLient Command Line Tool"
55
authors = ["TON DEV SOLUTIONS LTD <[email protected]>"]
66
repository = "https://github.com/tonlabs/TON-SDK"

0 commit comments

Comments
 (0)