Use `PackageId` rather than `Txid` in `OnchainEvent::Claim`
authorMatt Corallo <git@bluematt.me>
Wed, 7 Dec 2022 00:29:11 +0000 (00:29 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 7 Dec 2022 23:17:58 +0000 (23:17 +0000)
commit399b3eb3f74b266e3273af04748a1cad46181494
tree71b572593f11360b73b706aa965624943872adea
parentd9d4611e65c64001d5ac3b46a1c0288965ee4378
Use `PackageId` rather than `Txid` in `OnchainEvent::Claim`

In 19daccf7fb5ea81c8d235c1628a91efe0aa07b96, a `PackageId` type was
added to differentiate between an opaque Id for packages and the
`Txid` type which was being used for that purpose. It, however,
failed to also replace the single inner field in
`OnchainEvent::Claim` which was also a package ID. We do so here.
lightning/src/chain/onchaintx.rs