Merging two changes targeted at different nodes is not supported because the result can only carry one TargetNode. The second target's content would be silently misrouted. Add a panic guard that catches this at the Merge call site rather than allowing silent data loss. In production, Merge is only called with broadcast changes (TargetNode=0) so the guard acts as insurance against future misuse. |
||
|---|---|---|
| .. | ||
| change.go | ||
| change_test.go | ||