This commit is contained in:
Christopher Jeffrey 2016-05-17 17:55:24 -07:00
parent 370b5aeb24
commit f798c6f38e
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -471,6 +471,7 @@ describe('TX', function() {
assert.throws(function() {
tx.fromRaw(raw);
});
delete tx._raw;
tx.outputs[0].value = new bn('00ffffffffffffff', 'hex').ineg();
assert(tx.outputs[0].value.bitLength() === 56);
var raw = tx.toRaw()