receive: Wait with generating addresses until the history is loaded

- prevents generating index 0 after page refresh