| 1634 | } |
| 1635 | |
| 1636 | bool wallet_init_channels(struct wallet *w) |
| 1637 | { |
| 1638 | /* We set the max channel database id separately */ |
| 1639 | set_max_channel_dbid(w); |
| 1640 | return wallet_channels_load_active(w); |
| 1641 | } |
| 1642 | |
| 1643 | static enum channel_state_bucket get_state_channel_db(const char *dir, const char *typ) |
| 1644 | { |