htlcswitch: return FEE_INSUFFICIENT before checking balance
This commit is contained in:
3 files changed
+27
-12
No files matched your search
@@ -5339,6 +5339,7 @@ func testSwitchHandlePacketForward(t *testing.T, zeroConf, private,
|
||||
ogPacket := &htlcPacket{
|
||||
incomingChanID: bobLink.ShortChanID(),
|
||||
incomingHTLCID: 0,
|
||||
incomingAmount: 1000,
|
||||
obfuscator: NewMockObfuscator(),
|
||||
htlc: &lnwire.UpdateAddHTLC{
|
||||
PaymentHash: rhash,
|
||||
|
||||
Reference in new issue
Block a user