From a4071f0fe843f49cfa98ce98055d3235bff56bba Mon Sep 17 00:00:00 2001 From: David Dias Date: Wed, 24 Aug 2016 18:05:10 +0100 Subject: [PATCH] feat(block-http): tests passing according with compliance --- src/http-api/resources/block.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http-api/resources/block.js b/src/http-api/resources/block.js index c7f8cf9b8c..7fe425a540 100644 --- a/src/http-api/resources/block.js +++ b/src/http-api/resources/block.js @@ -140,8 +140,8 @@ exports.stat = { } return reply({ - Key: bs58.encode(block.Key).toString(), - Size: block.Size + Key: bs58.encode(block.key).toString(), + Size: block.size }) }) }