mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-29 18:10:48 +02:00
routing: rename method and add err check when launch shard
A followup commit for PR#5332. In this commit we add more docs, rename function updatePaymentState to fetchePaymentState, and add back the check for channeldb.ErrPaymentTerminal after we launch shard.
This commit is contained in:
@ -1083,7 +1083,7 @@ func TestUpdatePaymentState(t *testing.T) {
|
||||
}
|
||||
|
||||
// Call the method that updates the payment state.
|
||||
_, state, err := pl.updatePaymentState()
|
||||
_, state, err := pl.fetchPaymentState()
|
||||
|
||||
// Assert that the mock method is called as
|
||||
// intended.
|
||||
|
Reference in New Issue
Block a user