Skip to content

Is amount added to fee when compared to fee budget in keysend? #4940

Open
@hMsats

Description

@hMsats

keysend basically stopped working for me (c-lightning: v0.10.2). It looks like the amount sent is added to the routing fee and then checked against the maximum routing fee.

lightning-cli keysend 03efccf2c383d7bf340da9a3f02e2c23104a0e4fe8ac1a880c8e2dc92fbdacd9df 600000
{
   "code": 210,
   "message": "Ran out of routes to try after 1 attempt: see `paystatus`",
   "attempts": [
      {
         "status": "failed",
         "failreason": "Fee exceeds our fee budget: 603452msat > 5000msat, discarding route",
         "partid": 0,
         "amount": "600000msat"
      }
   ]
}

lightning-cli keysend 03efccf2c383d7bf340da9a3f02e2c23104a0e4fe8ac1a880c8e2dc92fbdacd9df 700000
{
   "code": 210,
   "message": "Ran out of routes to try after 1 attempt: see `paystatus`",
   "attempts": [
      {
         "status": "failed",
         "failreason": "Fee exceeds our fee budget: 703526msat > 5000msat, discarding route",
         "partid": 0,
         "amount": "700000msat"
      }
   ]
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions