Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

splice: Improve abort feerate abort msg #2911

Open
wants to merge 1 commit into
base: splicing-official
Choose a base branch
from

Conversation

ddustin
Copy link

@ddustin ddustin commented Sep 23, 2024

Added an explanation for aborting the splice if the feerate is too low

Copy link
Member

@t-bast t-bast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is where the error you're seeing is created, this is only for the case where you try to use a feerate that is below our mempool minimum feerate. I think you're getting an error inside the InteractiveTxBuilder, I'll look into improving the error message.

@@ -979,8 +979,8 @@ class Channel(val nodeParams: NodeParams, val wallet: OnChainChannelFunder with
log.info("rejecting splice request: channel not quiescent")
stay() using d.copy(spliceStatus = SpliceStatus.SpliceAborted) sending TxAbort(d.channelId, InvalidSpliceNotQuiescent(d.channelId).getMessage)
} else if (msg.feerate < nodeParams.currentFeerates.minimum) {
log.info("rejecting splice request: feerate too low")
stay() using d.copy(spliceStatus = SpliceStatus.SpliceAborted) sending TxAbort(d.channelId, InvalidSpliceRequest(d.channelId).getMessage)
log.info(s"rejecting splice request: feerate ${msg.fundingContribution} too low, must be above ${nodeParams.currentFeerates.minimum}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
log.info(s"rejecting splice request: feerate ${msg.fundingContribution} too low, must be above ${nodeParams.currentFeerates.minimum}")
log.info(s"rejecting splice request: feerate ${msg.feerate} too low, must be above ${nodeParams.currentFeerates.minimum}")

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed 👍

Added an explanation for aborting the splice if the feerate is too low
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants