From 3c4ce0a8fecdff7678e3d68c4fed51c4a10b2460 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Thu, 17 Mar 2016 13:07:19 +0100 Subject: [PATCH] Minor: fix a regression introduced by a bad merge that broke the rate fix demo --- src/main/kotlin/core/node/Node.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/core/node/Node.kt b/src/main/kotlin/core/node/Node.kt index 9f8fcb78c5..9c0546e7a5 100644 --- a/src/main/kotlin/core/node/Node.kt +++ b/src/main/kotlin/core/node/Node.kt @@ -84,7 +84,7 @@ class Node(dir: Path, val p2pAddr: HostAndPort, configuration: NodeConfiguration // API, data upload and download to services (attachments, rates oracles etc) handlerCollection.addHandler(ServletContextHandler().apply { contextPath = "/" - setAttribute("storage", storage) + setAttribute("node", this@Node) addServlet(DataUploadServlet::class.java, "/upload/*") addServlet(AttachmentDownloadServlet::class.java, "/attachments/*")