nami
nami copied to clipboard
Solves Issue #564: Line Breaks ("\n") isn't supported in Message shown when prompt to sign (signData method) (CIP30).
trafficstars
- Payload is now splitted into separated lines by line breaks received in the msg data payload. (/r, /r/n, /n)
- increased text area height to fill the blank gap (more room for message data content).
Example for the change:
Before:
After:
Raw msg sign data payload used:
String message = "Welcome to adabox.io!\n\n" +
"Click to sign in and accept the Adabox Terms of Service: https://adabox.io/tos\n\n" +
"This request will not trigger a blockchain transaction or cost any fees.\n\n" +
"Your authentication status will reset after 24 hours.\n\n" +
nonceTitle + nonce;