Merge pull request #589 from bitcoinjs/fixwebpack

Fix for Webpack
This commit is contained in:
Daniel Cousens 2016-06-09 08:49:08 +10:00
commit c79c9045df
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
var opcodes = require('./opcodes')
var opcodes = require('./opcodes.json')
// https://github.com/feross/buffer/blob/master/index.js#L1127
function verifuint (value, max) {

View file

@ -11,6 +11,6 @@ module.exports = {
crypto: require('./crypto'),
message: require('./message'),
networks: require('./networks'),
opcodes: require('./opcodes'),
opcodes: require('./opcodes.json'),
script: require('./script')
}

View file

@ -3,7 +3,7 @@ var bufferutils = require('./bufferutils')
var typeforce = require('typeforce')
var types = require('./types')
var OPS = require('./opcodes')
var OPS = require('./opcodes.json')
var REVERSE_OPS = (function () {
var result = {}
for (var op in OPS) {

View file

@ -2,7 +2,7 @@ var bcrypto = require('./crypto')
var bscript = require('./script')
var bufferutils = require('./bufferutils')
var bufferReverse = require('buffer-reverse')
var opcodes = require('./opcodes')
var opcodes = require('./opcodes.json')
var typeforce = require('typeforce')
var types = require('./types')

View file

@ -4,7 +4,7 @@ var bscript = require('./script')
var bufferEquals = require('buffer-equals')
var bufferReverse = require('buffer-reverse')
var networks = require('./networks')
var ops = require('./opcodes')
var ops = require('./opcodes.json')
var typeforce = require('typeforce')
var types = require('./types')