Login as guest feature
Entering a empty string for private Key now automatically generated a random key and logins as guest
This commit is contained in:
parent
2bf166ffd1
commit
cdeab33c20
@ -8600,7 +8600,7 @@ Bitcoin.Util = {
|
||||
try{
|
||||
var privKey = floDapps.util.privKeyInput();
|
||||
if(!privKey)
|
||||
return reject("Empty Private Key")
|
||||
privKey = floCrypto.generateNewID().privKey
|
||||
var floID = floCrypto.getFloIDfromPubkeyHex(floCrypto.getPubKeyHex(privKey))
|
||||
console.log(floID)
|
||||
}catch(error){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user