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 committed by Mikhail Iudin
parent 9ba3c1b34a
commit 43d63c3e01
No known key found for this signature in database
GPG Key ID: FAAAA8BAABDFF1C0

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
}