File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ export default class Wallet {
262262 *
263263 * @param icapDirect setting this to `true` will generate an address suitable for the `ICAP Direct mode`
264264 */
265- public static generate ( icapDirect : boolean = false ) : Wallet {
265+ public static generate ( icapDirect = false ) : Wallet {
266266 if ( icapDirect ) {
267267 const max = new BN ( '088f924eeceeda7fe92e1f5b0fffffffffffffff' , 16 )
268268 while ( true ) {
@@ -300,7 +300,7 @@ export default class Wallet {
300300 * This method only accepts uncompressed Ethereum-style public keys, unless
301301 * the `nonStrict` flag is set to true.
302302 */
303- public static fromPublicKey ( publicKey : Buffer , nonStrict : boolean = false ) : Wallet {
303+ public static fromPublicKey ( publicKey : Buffer , nonStrict = false ) : Wallet {
304304 if ( nonStrict ) {
305305 publicKey = importPublic ( publicKey )
306306 }
@@ -389,7 +389,7 @@ export default class Wallet {
389389 public static async fromV3 (
390390 input : string | V3Keystore ,
391391 password : string ,
392- nonStrict : boolean = false
392+ nonStrict = false
393393 ) : Promise < Wallet > {
394394 const json : V3Keystore =
395395 typeof input === 'object' ? input : JSON . parse ( nonStrict ? input . toLowerCase ( ) : input )
You can’t perform that action at this time.
0 commit comments