create method
create method, should call constructor first
Implementation
Account create() {
try {
String prv = crypto.generatePrivateKey();
return new Account(prv, this.messenger);
} catch (e) {
rethrow;
}
}
create method, should call constructor first
Account create() {
try {
String prv = crypto.generatePrivateKey();
return new Account(prv, this.messenger);
} catch (e) {
rethrow;
}
}