$wrapperInstance = ObjectFactory::createObjectByConfiguredName('peer_state_lookup_db_wrapper_class');
// Set it for later re-use
- $tableInstance->setDatabaseInstance($wrapperInstance);
+ $tableInstance->setWrapperInstance($wrapperInstance);
// Return the prepared instance
return $tableInstance;
*/
public function isSenderNewPeer (array $packageData) {
// Get our wrapper instance and ask for it
- $isNewPeer = $this->getDatabaseInstance()->isSenderNewPeer($packageData);
+ $isNewPeer = $this->getWrapperInstance()->isSenderNewPeer($packageData);
// Return it
return $isNewPeer;