Closed whfuyn closed 5 months ago
I've made an attempt to fix this problem. The channel's rgb amounts are correct after applying this fix, but I'm not sure if I've missed anything.
Thanks for reporting, I have been able to confirm the issue and will improve tests once both PRs will have been merged.
I noticed a problem while testing the rgb lightning channel.
Suppose there were three nodes, A, B, and C, and two channels, A->B, B->C.
Initially, A->B had 4500->500 rgb assets, and B->C had 20->0.
After sending 6 rgb assets from A to C through A->B->C, I expected the A->B to have 4494->506, and B->C to have 14->6.
However, when I checked in the response of
listchannel
from node B, it showed that the rgb amounts in both channels weren't updated as node A and C did.Node A
Node B
Node C