mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-05-22 14:56:38 +00:00
Remove double 'data' event on write
This commit is contained in:
parent
16f8e71bf7
commit
8d8240cb90
@ -51,7 +51,7 @@ class OrbitClient {
|
|||||||
|
|
||||||
_onWrite(channel, hash) {
|
_onWrite(channel, hash) {
|
||||||
this._pubsub.publish(channel, hash)
|
this._pubsub.publish(channel, hash)
|
||||||
this.events.emit('data', channel, hash);
|
// this.events.emit('data', channel, hash);
|
||||||
}
|
}
|
||||||
|
|
||||||
_onSync(channel, hash) {
|
_onSync(channel, hash) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user