on master help sign in
login: update hardware wallets copy
ecdc9a9Liam Fitzgerald
src/lib/trezor.js+1−1
@@ -37,7 +37,7 @@ const trezorSignTransaction = async (txn, hdpath) => {
37};
37};
38
38
39export const trezorSignMessage = async (message, hdPath) => {
39export const trezorSignMessage = async (message, hdPath) => {
40− const sig = await TrezorConnect.ethereumSignTransaction({
40+ const sig = await TrezorConnect.signMessage({
41 path: hdPath,
41 path: hdPath,
42 message,
42 message,
43 });
43 });
src/views/Login/Ledger.js+2−1
@@ -164,7 +164,8 @@ export default function Ledger({ className, goHome }) {
164 application. If you're running on older firmware, make sure the "browser
164 application. If you're running on older firmware, make sure the "browser
165 support" option is turned on. To sign transactions, you'll also need to
165 support" option is turned on. To sign transactions, you'll also need to
166 enable the "contract data" option. You will be prompted to sign a
166 enable the "contract data" option. You will be prompted to sign a
167− message. This allows Bridge to operate correctly.
167+ message. This allows Bridge to operate correctly. Never sign this hash
168+ outside of Bridge.
168 </Grid.Item>
169 </Grid.Item>
169
170
170 <BridgeForm
171 <BridgeForm
src/views/Login/Trezor.js+3−1
@@ -104,7 +104,9 @@ export default function Trezor({ className, goHome }) {
104 <Grid className={className}>
104 <Grid className={className}>
105 <Grid.Item full as={Text} className="f6 gray4 mb3">
105 <Grid.Item full as={Text} className="f6 gray4 mb3">
106 Connect and authenticate to your Trezor. If you'd like to use a custom
106 Connect and authenticate to your Trezor. If you'd like to use a custom
107− derivation path, you may enter it below.
107+ derivation path, you may enter it below. Upon login, you will prompted
108+ to sign the message "Bridge Authentication Token". This allows Bridge to
109+ operate correctly. Never sign this message outside of Bridge.
108 </Grid.Item>
110 </Grid.Item>
109
111
110 <BridgeForm
112 <BridgeForm