mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-03 23:38:07 +08:00
Fix panic when backup bootstrap peer load and save funcs are nil A panic occurs when the first bootstrap round runs is these functions are not assigned in the configuration: - `LoadBackupBootstrapPeers` - `SaveBackupBootstrapPeers` This fix assumes that it is acceptable for these functions to be nil, as it may be desirable to disable the backup peer load and save functionality. |
||
|---|---|---|
| .. | ||
| bootstrap | ||
| commands | ||
| coreapi | ||
| corehttp | ||
| corerepo | ||
| coreunix | ||
| mock | ||
| node | ||
| .gitignore | ||
| builder.go | ||
| core_test.go | ||
| core.go | ||