Skip to content

Commit 9550cf2

Browse files
fix: error handling
1 parent 936cdee commit 9550cf2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

node/node.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ func (n *Node) GetGenesis() *tmtypes.GenesisDoc {
234234
// GetGenesisChunks returns chunked version of genesis.
235235
func (n *Node) GetGenesisChunks() ([]string, error) {
236236
err := n.initGenesisChunks()
237+
if err != nil {
238+
return nil, err
239+
}
237240
return n.genChunks, err
238241
}
239242

0 commit comments

Comments
 (0)