Skip to content

Commit

Permalink
fix: return error when error happens
Browse files Browse the repository at this point in the history
Signed-off-by: Smuu <[email protected]>
  • Loading branch information
smuu committed Dec 9, 2024
1 parent b5d3219 commit 1e5003d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/testnet/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (nt *NodeTestnet) CreateBridgeNodes(ctx context.Context, count int, version
for i := 0; i < count; i++ {
err := nt.CreateBridgeNode(ctx, version, chainID, genesisHash, coreIP, bootstrapper, archival, resources)
if err != nil {
return nil
return err
}
}
return nil
Expand Down

0 comments on commit 1e5003d

Please sign in to comment.