tests: fix shadowed/unused variable warnings
This commit is contained in:
parent
cdb518686f
commit
4d6928a68b
5 changed files with 19 additions and 19 deletions
test/integration
|
@ -25,7 +25,7 @@ function fundAddress (unspents, outputs, callback) {
|
|||
txb.addOutput(x.address || kpAddress, x.value)
|
||||
})
|
||||
|
||||
result.inputs.forEach(function (x, i) {
|
||||
result.inputs.forEach(function (_, i) {
|
||||
txb.sign(i, keyPair)
|
||||
})
|
||||
|
||||
|
@ -37,7 +37,7 @@ function fundAddress (unspents, outputs, callback) {
|
|||
|
||||
// FIXME: @blocktrail can be very slow, give it time
|
||||
setTimeout(() => {
|
||||
callback(null, outputs.map(function (x, i) {
|
||||
callback(null, outputs.map(function (_, i) {
|
||||
return { txId: txId, vout: i }
|
||||
}))
|
||||
}, 3000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue