Skip to content

Fetch KeysInterface's get_shutdown_pubkey at close-time with !commit_upfront_shutdown_pubkey #994

Closed
@TheBlueMatt

Description

@TheBlueMatt

Config allows users to select if they want to commit to the shutdown public key or not, but either way we pull the shutdown public key form users at channel-open (storing it in Channel::shutdown_pubkey). We should instead actually pull the public key at shutdown-time based on the config bool. https://docs.rs/lightning/0.0.99/lightning/util/config/struct.ChannelConfig.html#structfield.commit_upfront_shutdown_pubkey

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions