Skip to content

Commit 5f368ea

Browse files
committed
Bump versions
1 parent 23da4bc commit 5f368ea

4 files changed

Lines changed: 34 additions & 38 deletions

File tree

Cargo.lock

Lines changed: 30 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/examples/multisig.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use ed25519_dalek::Signer;
55
use nekoton::core::models::Expiration;
66
use nekoton::core::ton_wallet::multisig::prepare_transfer;
77
use nekoton::core::ton_wallet::{Gift, MultisigType, TransferAction, WalletType};
8-
use nekoton::crypto::MnemonicType;
8+
use nekoton::crypto::{Bip39MnemonicData, MnemonicType};
99
use ton_block::{GetRepresentationHash, MsgAddressInt};
1010

1111
use everscale_rpc_client::{ClientOptions, SendOptions, SendStatus, TransportErrorAction};
@@ -29,7 +29,7 @@ async fn main() {
2929
.unwrap();
3030

3131
let signer =
32-
nekoton::crypto::derive_from_phrase(&seed, MnemonicType::Labs(0)).expect("invalid seed");
32+
nekoton::crypto::derive_from_phrase(&seed, MnemonicType::Bip39(Bip39MnemonicData::labs_old(0))).expect("invalid seed");
3333
let from = nekoton::core::ton_wallet::compute_address(
3434
&signer.public,
3535
WalletType::Multisig(MultisigType::SafeMultisigWallet),

client/examples/parse-transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ async fn get_abi_for_account(contract_addr: &str) -> Result<ton_abi::Contract> {
5252
.text()
5353
.await?;
5454

55-
let abi = ton_abi::Contract::load(&abi)?;
55+
let abi = ton_abi::Contract::load(abi.as_bytes())?;
5656
Ok(abi)
5757
}

server/src/proto.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ pub async fn proto_router(
206206
rpc::request::Call::GetDstTransaction(p) => {
207207
req.fill(ctx.proto().get_dst_transaction(p))
208208
}
209+
_ => todo!()
209210
},
210211
None => req.not_found(),
211212
}

0 commit comments

Comments
 (0)