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