diff options
Diffstat (limited to 'core/test/governance.go')
-rw-r--r-- | core/test/governance.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/test/governance.go b/core/test/governance.go index 05ceb62..5cf9732 100644 --- a/core/test/governance.go +++ b/core/test/governance.go @@ -255,7 +255,9 @@ func (g *Governance) broadcastPendingStateChanges() { if err != nil { panic(err) } - g.networkModule.Broadcast(packedStateChanges(packed)) + if err := g.networkModule.Broadcast(packedStateChanges(packed)); err != nil { + panic(err) + } } // State allows to access embed State instance. |