diff options
Diffstat (limited to '')
-rw-r--r-- | golang/pkg/agent/contracting.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/golang/pkg/agent/contracting.go b/golang/pkg/agent/contracting.go index 4e476a6..dcc7815 100644 --- a/golang/pkg/agent/contracting.go +++ b/golang/pkg/agent/contracting.go @@ -72,7 +72,7 @@ func (a *agent) runProcurement(contract *model.Contract, ship *model.Ship) error } } // deliver the goods - if err := a.client.Navigate(ship, deliver.DestinationSymbol); err != nil { + if err := a.navigate(ship, deliver.DestinationSymbol); err != nil { return fmt.Errorf("failed to navigate to %s: %w", deliver.DestinationSymbol, err) } if err := a.client.Deliver(contract, ship); err != nil { |