various: more standard-format artifact fixes

This commit is contained in:
Daniel Cousens 2015-03-02 13:31:03 +11:00
parent 8aa4f9ecc9
commit 0bba21546f
11 changed files with 58 additions and 66 deletions

View file

@ -43,10 +43,13 @@ function construct (txb, f, sign) {
}
// FIXME: add support for locktime/version in TransactionBuilder API
if (f.version !== undefined)
if (f.version !== undefined) {
txb.tx.version = f.version
if (f.locktime !== undefined)
}
if (f.locktime !== undefined) {
txb.tx.locktime = f.locktime
}
}
describe('TransactionBuilder', function () {