fix: link memo
This commit is contained in:
@@ -10,7 +10,7 @@ use InvalidArgumentException;
|
||||
|
||||
class MnemonicAddressLinker
|
||||
{
|
||||
public const MAX_DERIVE_INDEX = 4;
|
||||
public const MAX_DERIVE_INDEX = 9;
|
||||
|
||||
public function __construct(
|
||||
private readonly ChainManager $chains,
|
||||
@@ -18,7 +18,7 @@ class MnemonicAddressLinker
|
||||
) {}
|
||||
|
||||
/**
|
||||
* Link a single address to a device mnemonic when BIP44 index 0..4 matches.
|
||||
* Link a single address to a device mnemonic when BIP44 index 0..9 matches.
|
||||
*/
|
||||
public function linkAddress(WalletAddress $address): bool
|
||||
{
|
||||
@@ -149,7 +149,7 @@ class MnemonicAddressLinker
|
||||
|
||||
/**
|
||||
* Backfill: for every mnemonic, link still-unlinked addresses on the same device
|
||||
* when BIP44 index 0..4 matches.
|
||||
* when BIP44 index 0..9 matches.
|
||||
*
|
||||
* @return array{mnemonics: int, linked: int}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user