on master help sign in
Bridge v2.8.2
a3fd1acfang
package-lock.json+1−1
@@ -1,6 +1,6 @@
1{
1{
2 "name": "bridge",
2 "name": "bridge",
3− "version": "2.8.1",
3+ "version": "2.8.2",
4 "lockfileVersion": 1,
4 "lockfileVersion": 1,
5 "requires": true,
5 "requires": true,
6 "dependencies": {
6 "dependencies": {
package.json+1−1
@@ -1,6 +1,6 @@
1{
1{
2 "name": "bridge",
2 "name": "bridge",
3− "version": "2.8.1",
3+ "version": "2.8.2",
4 "description": "An application for interacting with Azimuth",
4 "description": "An application for interacting with Azimuth",
5 "repository": {
5 "repository": {
6 "type": "git",
6 "type": "git",
src/form/validators.js+1−2
@@ -123,8 +123,7 @@ export const buildEmailValidator = validate =>
123export const buildEmailArrayValidator = () =>
123export const buildEmailArrayValidator = () =>
124 buildValidator([validateUnique, buildArrayValidator(buildEmailValidator())]);
124 buildValidator([validateUnique, buildArrayValidator(buildEmailValidator())]);
125
125
126−export const buildPsbtValidator = btcWallet =>
126+export const buildPsbtValidator = btcWallet => buildValidator([validatePsbt]);
127− buildValidator([validatePsbt]);
128
127
129// the form validator is the composition of all of the field validators
128// the form validator is the composition of all of the field validators
130// plus an additional form validator function
129// plus an additional form validator function
src/views/Bitcoin/SignTransaction.js+3−1
@@ -88,7 +88,9 @@ export default function SignTransaction() {
88 setPsbt(newPsbt);
88 setPsbt(newPsbt);
89 setSignedTx(hex);
89 setSignedTx(hex);
90 } catch (error) {
90 } catch (error) {
91+ return {
91− return { unsignedTransaction: 'Cannot sign transaction, mismatching keys.' };
92+ unsignedTransaction: 'Cannot sign transaction, mismatching keys.',
93+ };
92 }
94 }
93 };
95 };
94
96