summaryrefslogtreecommitdiffstats
path: root/lib/iotas/door.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/iotas/door.rb')
-rw-r--r--lib/iotas/door.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/iotas/door.rb b/lib/iotas/door.rb
index de6b5a0..7d57b1c 100644
--- a/lib/iotas/door.rb
+++ b/lib/iotas/door.rb
@@ -43,9 +43,7 @@ module Iotas
end
#
def require_p p_kls
- p = @spin.require_p p_kls
- p.init! self
- p
+ @spin.require_p p_kls
end
#
def release_p p