tests: remove outdated FIXME in wallet
This commit is contained in:
parent
ca0c56fa3b
commit
2920bb2ee1
@ -308,13 +308,9 @@ describe('Wallet', function() {
|
||||
var pubKey = wallet.getPrivateKey(0).pub
|
||||
var script = scripts.pubKeyOutput(pubKey)
|
||||
var tx2 = new Transaction()
|
||||
tx2.addInput(fakeTxId(1), 0)
|
||||
|
||||
// FIXME: Transaction doesn't support custom ScriptPubKeys... yet
|
||||
// So for now, we hijack the script with our own, and undefine the cached address
|
||||
tx2.addOutput(addresses[0], 10000)
|
||||
tx2.outs[0].script = script
|
||||
tx2.outs[0].address = undefined
|
||||
tx2.addInput(fakeTxHash(1), 0)
|
||||
tx2.addOutput(script, 10000)
|
||||
|
||||
wallet.processConfirmedTx(tx2)
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user