Skip to content

Commit 3ac2582

Browse files
Merge pull request #6843 from bithyve/dev
Release 2.5.4
2 parents e1c1e33 + 665abc2 commit 3ac2582

File tree

7 files changed

+23
-18
lines changed

7 files changed

+23
-18
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ android {
8787
applicationId "io.hexawallet.keeper"
8888
minSdkVersion rootProject.ext.minSdkVersion
8989
targetSdkVersion rootProject.ext.targetSdkVersion
90-
versionCode 563
91-
versionName "2.5.3"
90+
versionCode 564
91+
versionName "2.5.4"
9292
missingDimensionStrategy 'react-native-camera', 'general'
9393
missingDimensionStrategy 'store', 'play'
9494
multiDexEnabled true

ios/hexa_keeper.xcodeproj/project.pbxproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@
748748
CODE_SIGN_ENTITLEMENTS = hexa_keeper/hexa_keeper.entitlements;
749749
CODE_SIGN_IDENTITY = "Apple Development";
750750
CODE_SIGN_STYLE = Automatic;
751-
CURRENT_PROJECT_VERSION = 563;
751+
CURRENT_PROJECT_VERSION = 564;
752752
DEVELOPMENT_TEAM = Y5TCB759QL;
753753
ENABLE_BITCODE = NO;
754754
HEADER_SEARCH_PATHS = (
@@ -849,7 +849,7 @@
849849
"$(inherited)",
850850
"\"$(SRCROOT)\"",
851851
);
852-
MARKETING_VERSION = 2.5.3;
852+
MARKETING_VERSION = 2.5.4;
853853
OTHER_LDFLAGS = (
854854
"$(inherited)",
855855
"-ObjC",
@@ -874,7 +874,7 @@
874874
CLANG_ENABLE_MODULES = YES;
875875
CODE_SIGN_ENTITLEMENTS = hexa_keeper/hexa_keeper.entitlements;
876876
CODE_SIGN_IDENTITY = "Apple Distribution: Bithyve UK Ltd (Y5TCB759QL)";
877-
CURRENT_PROJECT_VERSION = 563;
877+
CURRENT_PROJECT_VERSION = 564;
878878
DEVELOPMENT_TEAM = Y5TCB759QL;
879879
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = Y5TCB759QL;
880880
HEADER_SEARCH_PATHS = (
@@ -975,7 +975,7 @@
975975
"$(inherited)",
976976
"\"$(SRCROOT)\"",
977977
);
978-
MARKETING_VERSION = 2.5.3;
978+
MARKETING_VERSION = 2.5.4;
979979
OTHER_LDFLAGS = (
980980
"$(inherited)",
981981
"-ObjC",
@@ -1144,7 +1144,7 @@
11441144
CODE_SIGN_IDENTITY = "Apple Development";
11451145
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
11461146
CODE_SIGN_STYLE = Manual;
1147-
CURRENT_PROJECT_VERSION = 563;
1147+
CURRENT_PROJECT_VERSION = 564;
11481148
DEVELOPMENT_TEAM = Y5TCB759QL;
11491149
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = Y5TCB759QL;
11501150
ENABLE_BITCODE = NO;
@@ -1247,7 +1247,7 @@
12471247
"$(PROJECT_DIR)",
12481248
"\"$(SRCROOT)\"",
12491249
);
1250-
MARKETING_VERSION = 2.5.3;
1250+
MARKETING_VERSION = 2.5.4;
12511251
OTHER_LDFLAGS = (
12521252
"$(inherited)",
12531253
"-ObjC",
@@ -1275,7 +1275,7 @@
12751275
CODE_SIGN_ENTITLEMENTS = hexa_keeper_dev.entitlements;
12761276
CODE_SIGN_IDENTITY = "Apple Distribution";
12771277
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
1278-
CURRENT_PROJECT_VERSION = 563;
1278+
CURRENT_PROJECT_VERSION = 564;
12791279
DEVELOPMENT_TEAM = Y5TCB759QL;
12801280
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = Y5TCB759QL;
12811281
HEADER_SEARCH_PATHS = (
@@ -1377,7 +1377,7 @@
13771377
"$(PROJECT_DIR)",
13781378
"\"$(SRCROOT)\"",
13791379
);
1380-
MARKETING_VERSION = 2.5.3;
1380+
MARKETING_VERSION = 2.5.4;
13811381
OTHER_LDFLAGS = (
13821382
"$(inherited)",
13831383
"-ObjC",

ios/hexa_keeper/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>563</string>
39+
<string>564</string>
4040
<key>LSApplicationQueriesSchemes</key>
4141
<array>
4242
<string>itms-apps</string>

ios/hexa_keeperTests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>
22-
<string>563</string>
22+
<string>564</string>
2323
</dict>
2424
</plist>

ios/hexa_keeper_dev-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
</dict>
3737
</array>
3838
<key>CFBundleVersion</key>
39-
<string>563</string>
39+
<string>564</string>
4040
<key>LSApplicationQueriesSchemes</key>
4141
<array>
4242
<string>itms-apps</string>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexa_keeper",
3-
"version": "2.5.3",
3+
"version": "2.5.4",
44
"private": true,
55
"scripts": {
66
"ios": "npx react-native run-ios --scheme=hexa_keeper_dev --simulator 'iPhone 16' ",

src/utils/utilities.ts

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -869,15 +869,20 @@ export const manipulateBitcoinPrices = (data) => {
869869
};
870870

871871
export const validatePSBT = (unsigned, signed, signer, errorText) => {
872-
// TODO: Need conditional check for TapSigner and Specter psbt
873-
if ([SignerType.TAPSIGNER, SignerType.SPECTER].includes(signer.type)) return;
872+
if (
873+
[SignerType.TAPSIGNER, SignerType.SPECTER, SignerType.SEEDSIGNER, SignerType.KRUX].includes(
874+
signer.type
875+
)
876+
)
877+
return;
874878
const unsignedHex = bitcoin.Psbt.fromBase64(unsigned).__CACHE.__TX.toHex();
875879
const signedPsbtObj = bitcoin.Psbt.fromBase64(signed);
876880
const signedHex = signedPsbtObj.__CACHE.__TX.toHex();
877881
if (signedHex !== unsignedHex) {
878882
throw new Error(errorText.psbtNotMatch);
879883
}
880-
const signerPublicKey = getInputsToSignFromPSBT(signed, signer).map((data) => data.publicKey)[0];
884+
let signerPublicKey;
885+
signerPublicKey = getInputsToSignFromPSBT(unsigned, signer).map((data) => data.publicKey)[0];
881886
let isSigned = false;
882887
const validator = (pubkey: Buffer, msghash: Buffer, signature: Buffer): boolean =>
883888
ECPair.fromPublicKey(pubkey).verify(msghash, signature);
@@ -894,4 +899,4 @@ export const validatePSBT = (unsigned, signed, signer, errorText) => {
894899
if (!isSigned) {
895900
throw new Error(errorText.psbtMissingSignature);
896901
}
897-
};
902+
};

0 commit comments

Comments
 (0)