Added on_network_block hook to Share manager.
[stratum-mining.git] / mining / subscription.py
index 3e39a60..d04c62e 100644 (file)
@@ -11,7 +11,7 @@ class MiningSubscription(Subscription):
     event = 'mining.notify'
     
     @classmethod
-    def on_block(cls, is_new_block):
+    def on_template(cls, is_new_block):
         '''This is called when TemplateRegistry registers
            new block which we have to broadcast clients.'''