delineate divergence point more clearly

This commit is contained in:
sneurlax 2022-11-07 14:46:48 -06:00
parent 6e5a0bad78
commit b41c4c37bd

View file

@ -713,8 +713,12 @@ class WowneroWallet extends CoinServiceAPI {
final wallet = await _walletCreationService?.create(credentials); final wallet = await _walletCreationService?.create(credentials);
// subtract a couple days to ensure we have a buffer for SWB // subtract a couple days to ensure we have a buffer for SWB
// 14 words
//final bufferedCreateHeight = getSeedHeightSync(wallet?.seed.trim() as String);
// 25 words
final bufferedCreateHeight = 0; final bufferedCreateHeight = 0;
//final bufferedCreateHeight = getSeedHeightSync(wallet?.seed.trim() as String); // TODO use an alternative to wow_seed's get_seed_height // TODO use an alternative to wow_seed's get_seed_height
await DB.instance.put<dynamic>( await DB.instance.put<dynamic>(
boxName: walletId, key: "restoreHeight", value: bufferedCreateHeight); boxName: walletId, key: "restoreHeight", value: bufferedCreateHeight);