Update floCrypto.js

This commit is contained in:
sairajzero 2022-07-26 15:18:42 +05:30
parent 05c58b6027
commit af34c5ed69

View File

@ -1,4 +1,4 @@
(function(EXPORTS) { //floCrypto v2.3.2a
(function(EXPORTS) { //floCrypto v2.3.2b
/* FLO Crypto Operators */
'use strict';
const floCrypto = EXPORTS;
@ -209,7 +209,7 @@
}
//Check if the given address (any blockchain) is valid or not
floCrypto.validateAddr = function(address, std = true, bech = false) {
floCrypto.validateAddr = function(address, std = true, bech = true) {
if (address.length == 34) { //legacy or segwit encoding
if (std === false)
return false;