Skip to content

Commit

Permalink
fix: correct typing on build_iceberg_opts
Browse files Browse the repository at this point in the history
  • Loading branch information
cdummett committed Oct 17, 2023
1 parent c7eade7 commit dc7bc78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vega_sim/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2974,8 +2974,8 @@ def list_team_referee_history(

def build_iceberg_opts(
self, market_id: str, peak_size: float, minimum_visible_size: float
) -> vega_protos.vega.IcebergOpts:
return vega_protos.commands.v1.IcebergOpts(
) -> vega_protos.commands.v1.commands.IcebergOpts:
return vega_protos.commands.v1.commands.IcebergOpts(
peak_size=num_to_padded_int(peak_size, self.market_pos_decimals[market_id]),
minimum_visible_size=num_to_padded_int(
minimum_visible_size, self.market_pos_decimals[market_id]
Expand Down

0 comments on commit dc7bc78

Please sign in to comment.