Skip to content

Commit c087f56

Browse files
committed
change name of StreamGenesis to ExportGenesisStream
1 parent e1657a5 commit c087f56

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/apps/transfer/module.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,9 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
154154
return cdc.MustMarshalJSON(gs)
155155
}
156156

157-
// StreamGenesis returns the exported genesis state as raw bytes for the ibc-transfer module in a
157+
// ExportGenesisStream returns the exported genesis state as raw bytes for the ibc-transfer module in a
158158
// streaming fashion.
159-
func (am AppModule) StreamGenesis(ctx sdk.Context, cdc codec.JSONCodec) <-chan json.RawMessage {
159+
func (am AppModule) ExportGenesisStream(ctx sdk.Context, cdc codec.JSONCodec) <-chan json.RawMessage {
160160
ch := make(chan json.RawMessage)
161161
go func() {
162162
ch <- am.ExportGenesis(ctx, cdc)

modules/core/module.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,9 @@ func (am AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONCodec) json.Raw
169169
return cdc.MustMarshalJSON(ExportGenesis(ctx, *am.keeper))
170170
}
171171

172-
// StreamGenesis returns the exported genesis state as raw bytes for the ibc
172+
// ExportGenesisStream returns the exported genesis state as raw bytes for the ibc
173173
// module in a streaing fashion
174-
func (am AppModule) StreamGenesis(ctx sdk.Context, cdc codec.JSONCodec) <-chan json.RawMessage {
174+
func (am AppModule) ExportGenesisStream(ctx sdk.Context, cdc codec.JSONCodec) <-chan json.RawMessage {
175175
ch := make(chan json.RawMessage)
176176
go func() {
177177
ch <- am.ExportGenesis(ctx, cdc)

0 commit comments

Comments
 (0)