Merge pull request #9051 from calvinrzachman/export-routing-interface

routing: export dbMPPayment interface
This commit is contained in:
Oliver Gugger
2024-09-09 05:15:38 -06:00
committed by GitHub
3 changed files with 8 additions and 8 deletions

View File

@@ -508,7 +508,7 @@ func (m *mockControlTowerOld) FailPayment(phash lntypes.Hash,
}
func (m *mockControlTowerOld) FetchPayment(phash lntypes.Hash) (
dbMPPayment, error) {
DBMPPayment, error) {
m.Lock()
defer m.Unlock()
@@ -784,7 +784,7 @@ func (m *mockControlTower) FailPayment(phash lntypes.Hash,
}
func (m *mockControlTower) FetchPayment(phash lntypes.Hash) (
dbMPPayment, error) {
DBMPPayment, error) {
args := m.Called(phash)
@@ -822,7 +822,7 @@ type mockMPPayment struct {
mock.Mock
}
var _ dbMPPayment = (*mockMPPayment)(nil)
var _ DBMPPayment = (*mockMPPayment)(nil)
func (m *mockMPPayment) GetState() *channeldb.MPPaymentState {
args := m.Called()