]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/factories/chain/class_PackageFilterChainFactory.php
The package hash needs to be copied to the message array as it needs to be
[hub.git] / application / hub / main / factories / chain / class_PackageFilterChainFactory.php
index ba3bc4df3ad4e7ab7f881a563ca03a2a408ee0dd..e07b77126a683eaf717e4eb62d583b55dce42feb 100644 (file)
@@ -67,8 +67,8 @@ class PackageFilterChainFactory extends ObjectFactory {
                        // Add filter for handling hash to miner queue
                        $filterInstance = self::createObjectByConfiguredName('package_hash_to_miner_filter');
 
-                       // Add this filter to the chain
-                       $chainInstance->addFilter($filterInstance);
+                       // Add this post-filter to the chain
+                       $chainInstance->addPostFilter($filterInstance);
 
                        // Add the finished chain to the registry
                        Registry::getRegistry()->addInstance($registryKey, $chainInstance);