From ed6c0307ef4ea62cb124bc36cd5154b8208010ad Mon Sep 17 00:00:00 2001 From: pernas Date: Tue, 22 Nov 2016 17:27:29 +0000 Subject: [PATCH] feaat(metadata): compatible with new version of the metadata service --- index.js | 2 -- src/metadata.js | 1 - 2 files changed, 3 deletions(-) diff --git a/index.js b/index.js index bf8f8f013..25b517a86 100644 --- a/index.js +++ b/index.js @@ -2,9 +2,7 @@ require('isomorphic-fetch'); require('es6-promise').polyfill(); - global.Symbol = require('core-js/es6/symbol'); - var Buffer = require('buffer').Buffer; // This fixes a bug with Safari < 8 and the Browserify Buffer shim used in Crypto-browserify/randombytes diff --git a/src/metadata.js b/src/metadata.js index 502640ffa..ee90b6e13 100644 --- a/src/metadata.js +++ b/src/metadata.js @@ -85,7 +85,6 @@ Metadata.message = curry( } ); -// Metadata.magic :: Buffer -> Buffer -> Buffer Metadata.magic = curry( function (payload, prevMagic) { const msg = this.message(payload, prevMagic);