We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6345a8 + 9993d44 commit 50b815fCopy full SHA for 50b815f
aw.go
@@ -135,13 +135,11 @@ func (node *Node) Run(ctx context.Context) {
135
136
func (node *Node) Send(ctx context.Context, signatory id.Signatory, dataType uint8, data []byte) {
137
hash := sha256.Sum256(data)
138
- node.dht.InsertContent(hash, dataType, data)
139
node.gossiper.Gossip(id.Hash(signatory), hash, dataType)
140
}
141
142
func (node *Node) Broadcast(ctx context.Context, subnet id.Hash, dataType uint8, data []byte) {
143
144
145
node.gossiper.Gossip(subnet, hash, dataType)
146
147
0 commit comments