Skip to content

Commit 20b27b9

Browse files
author
Fabrice Bascoulergue
committed
Improve signature payload to avoid app display issues
1 parent 38eec7c commit 20b27b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utils/transactions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const verifySignMsg = async (msg: SignMsg): Promise<boolean> => {
117117
// Same a used in the LumLedgerWallet > signMessage method
118118
const msgToSign = {
119119
'account_number': '0',
120-
'chain_id': 'lum-network',
120+
'chain_id': 'lum-signature-only',
121121
'fee': {},
122122
'memo': msg.msg,
123123
'msgs': [],

src/wallet/LumLedgerWallet.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class LumLedgerWallet extends LumWallet {
7979
// that is only provided for basic message signature and verification
8080
const msgToSign = {
8181
'account_number': '0',
82-
'chain_id': 'lum-network',
82+
'chain_id': 'lum-signature-only',
8383
'fee': {},
8484
'memo': msg,
8585
'msgs': [],

0 commit comments

Comments
 (0)