Transaction.abandon() now requires list of outputs

This commit is contained in:
Lex Berezhny 2018-08-01 09:58:06 -04:00 committed by Jack Robison
parent 9348f4f366
commit 4669507880
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -81,7 +81,7 @@ class BasicTransactionTest(IntegrationTestCase):
response = await d2f(self.ledger.resolve(0, 10, 'lbry://@bar/foo'))
self.assertIn('lbry://@bar/foo', response)
abandon_tx = await d2f(Transaction.abandon(claim_tx.outputs[0], [self.account], self.account))
abandon_tx = await d2f(Transaction.abandon([claim_tx.outputs[0]], [self.account], self.account))
await self.broadcast(abandon_tx)
await self.on_transaction(abandon_tx)
await self.blockchain.generate(1)