mirror of
https://github.com/Such-Software/xmrcheckout.git
synced 2026-10-17 05:51:34 +02:00
When generate_from_keys creates a new wallet file (first open on a wallet-rpc instance, or after cache loss), restore_height was set to the current daemon height. This means the wallet only scans from NOW, missing any payments sent before the wallet was opened. A 1440-block lookback (~2 days at ~2 min/block) ensures recent payments are found after container restarts or wallet cache loss.