Remove error handling on broadcasting

In theory this can cause a non-decrease of a treesUsed var
This commit is contained in:
mcrakhman 2023-01-02 11:26:26 +01:00
parent 397252d97a
commit 8d8aff2680
No known key found for this signature in database
GPG Key ID: DED12CFEF5B8396B

View File

@ -188,7 +188,7 @@ func buildSyncTree(ctx context.Context, isFirstBuild bool, deps BuildDeps) (t Sy
if isFirstBuild {
headUpdate := syncTree.syncClient.CreateHeadUpdate(t, nil)
// send to everybody, because everybody should know that the node or client got new tree
err = syncTree.syncClient.BroadcastAsync(headUpdate)
syncTree.syncClient.BroadcastAsync(headUpdate)
}
return
}