diff --git a/aw.go b/aw.go index 76446bc..60e2fa4 100644 --- a/aw.go +++ b/aw.go @@ -135,13 +135,11 @@ func (node *Node) Run(ctx context.Context) { func (node *Node) Send(ctx context.Context, signatory id.Signatory, dataType uint8, data []byte) { hash := sha256.Sum256(data) - node.dht.InsertContent(hash, dataType, data) node.gossiper.Gossip(id.Hash(signatory), hash, dataType) } func (node *Node) Broadcast(ctx context.Context, subnet id.Hash, dataType uint8, data []byte) { hash := sha256.Sum256(data) - node.dht.InsertContent(hash, dataType, data) node.gossiper.Gossip(subnet, hash, dataType) }