Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion st/library/dedupe.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func NewDeDupe() blocks.BlockInterface {
// Setup is called once before running the block. We build up the channels and specify what kind of block this is.
func (b *DeDupe) Setup() {
b.Kind = "Core"
b.Desc = "stores a set of messages as specified by Path, emiting only those it hasn't seen before."
b.Desc = "stores a set of messages as specified by Path, emitting only those it hasn't seen before."
b.in = b.InRoute("in")
b.inrule = b.InRoute("rule")
b.queryrule = b.QueryRoute("rule")
Expand Down
2 changes: 1 addition & 1 deletion st/server/blockmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ func (b *BlockManager) Connect(connInfo *ConnectionInfo) (*ConnectionInfo, error
func (b *BlockManager) GetSocket(fromId string) (chan *blocks.Msg, string, error) {
_, ok := b.blockMap[fromId]
if !ok {
return nil, "", errors.New(fmt.Sprintf("Cannot recieve from block %s: does not exist", fromId))
return nil, "", errors.New(fmt.Sprintf("Cannot receive from block %s: does not exist", fromId))
}

wsChan := make(chan *blocks.Msg)
Expand Down