* @return void
* @throws InvalidStateException If the state is not 'virgin'
*/
- public function validateDhtStateIsVirgin () {
+ public function validateDhtStateIsVirginOrInit () {
// Just compare it...
- if (!$this instanceof DhtVirginState) {
+ if ((!$this instanceof DhtVirginState) && (!$this instanceof DhtInitState)) {
// Throw the exception
throw new InvalidStateException($this, self::EXCEPTION_INVALID_STATE);
} // END - if