From 2189825f0dda442d6319248a1ed2119e53193965 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 21 May 2019 19:31:33 -0500 Subject: [PATCH] Split IntegrityCheck and NoIntegrityCheck --- lib/dhall/ast.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dhall/ast.rb b/lib/dhall/ast.rb index acef5ae..b3d9689 100644 --- a/lib/dhall/ast.rb +++ b/lib/dhall/ast.rb @@ -1218,7 +1218,7 @@ module Dhall end def as_json - [@protocol, hexdigest] + Multihashes.encode(digest, Multihashes::TABLE[code]) end end -- 2.38.5