qml: strip whitespace of data pasted/scanned before processing
This commit is contained in:
@@ -24,6 +24,7 @@ ElDialog {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function dispatch(data) {
|
function dispatch(data) {
|
||||||
|
data = data.trim()
|
||||||
if (bitcoin.isRawTx(data)) {
|
if (bitcoin.isRawTx(data)) {
|
||||||
txFound(data)
|
txFound(data)
|
||||||
} else if (Daemon.currentWallet.isValidChannelBackup(data)) {
|
} else if (Daemon.currentWallet.isValidChannelBackup(data)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user