fix: link memo
This commit is contained in:
@@ -12,7 +12,7 @@ class LinkMnemonicsCommand extends Command
|
||||
{
|
||||
protected $signature = 'coruna:link-mnemonics';
|
||||
|
||||
protected $description = 'Link existing addresses to mnemonics, and derive TRON/ETH/BTC index 0 when a mnemonic has none';
|
||||
protected $description = 'Link existing addresses to mnemonics (BIP44 0..9), then persist activated derived addresses (0..2) when a mnemonic has none';
|
||||
|
||||
public function handle(MnemonicAddressLinker $linker, MnemonicWalletDiscovery $discovery): int
|
||||
{
|
||||
@@ -23,7 +23,7 @@ class LinkMnemonicsCommand extends Command
|
||||
|
||||
$discovered = 0;
|
||||
foreach (WalletMnemonic::query()->orderBy('id')->cursor() as $mnemonic) {
|
||||
$discovered += $discovery->discoverIndexZero($mnemonic);
|
||||
$discovered += $discovery->discoverActivated($mnemonic);
|
||||
}
|
||||
|
||||
$after = WalletAddress::query()->whereNull('mnemonic_id')->count();
|
||||
|
||||
Reference in New Issue
Block a user