fix blocks topic

This commit is contained in:
whyrusleeping
2020-03-03 21:03:35 -08:00
parent dcf5fb36f3
commit 37d5baf0b2
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ func (a *SyncAPI) SyncSubmitBlock(ctx context.Context, blk *types.BlockMsg) erro
}
// TODO: anything else to do here?
return a.PubSub.Publish(build.MessagesTopic, b)
return a.PubSub.Publish(build.BlocksTopic, b)
}
func (a *SyncAPI) SyncIncomingBlocks(ctx context.Context) (<-chan *types.BlockHeader, error) {