Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
soralit committed Sep 25, 2024
1 parent a36bc9b commit 3369406
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions rust/keystore/src/algorithms/secp256k1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ extern crate alloc;

use alloc::string::{String, ToString};

use bitcoin::secp256k1::{ecdsa, SecretKey, PublicKey};
use bitcoin::secp256k1::{ecdsa, SecretKey, PublicKey, ecdh::SharedSecret, Secp256k1};
use core::str::FromStr;
use secp256k1::{ecdh::SharedSecret, PublicKey, Secp256k1};

use third_party::bitcoin::bip32::{DerivationPath, Fingerprint, Xpriv, Xpub};
use third_party::bitcoin::Network;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/gui_assets/images_hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ffbd6cc3a857f1f86758f9ee71834671
c54161aab3760326750a3d88c6820e93
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,7 @@ static UREncodeResult *ModelGenerateSyncUR(void)
ExtendedPublicKey xpubs[24];
for (size_t i = 0; i < g_callData->key_derivation->schemas->size; i++) {
uint8_t seed[64];
MnemonicType mnemonicType = GetMnemonicType();
bool isSlip39 = mnemonicType == MNEMONIC_TYPE_SLIP39;
int seedLen = isSlip39 ? GetCurrentAccountEntropyLen() : sizeof(seed) ;
char *password = SecretCacheGetPassword();
Expand Down

0 comments on commit 3369406

Please sign in to comment.