* @return void
*/
public function sendPackage (Distributable $dhtInstance) {
- // Sanity check: Is the dht in the approx. state? (init)
- $dhtInstance->getStateInstance()->validateDhtStateIsInitialized();
+ // Sanity check: Is the dht in the approx. state? (virgin)
+ $dhtInstance->getStateInstance()->validateDhtStateIsVirgin();
// Compile the template, this inserts the loaded dht data into the gaps.
$this->getTemplateInstance()->compileTemplate();