Skip to content

Commit 26cdf3e

Browse files
Tyler Levineperrybitgo
authored andcommitted
CT-436: Correctly export Buffer global
1 parent ac0a5b4 commit 26cdf3e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/core/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ utxoLib.makeRandomKey = makeRandomKey;
2020
export const bitcoin = utxoLib;
2121
export const sjcl = require('./vendor/sjcl.min.js');
2222
export const bs58 = require('bs58');
23-
export const Buffer = global.Buffer;
23+
24+
export { Buffer } from 'buffer';
2425

2526
import * as _ from 'lodash';
2627
import * as errors from './errors';

0 commit comments

Comments
 (0)