various: more standard-format artifact fixes
This commit is contained in:
parent
8aa4f9ecc9
commit
0bba21546f
11 changed files with 58 additions and 66 deletions
|
@ -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 () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue