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);