tx test.
This commit is contained in:
parent
370b5aeb24
commit
f798c6f38e
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user