this shit is it
This commit is contained in:
@@ -60,6 +60,8 @@ class Base_Distribution_Agent(BaseAgent,ABC):
|
||||
# Get exchange
|
||||
cx=self.exchanges[cx_id]
|
||||
|
||||
#if amount>=self.max_batch_qty:
|
||||
# amount=self.max_batch_qty
|
||||
|
||||
if not self.business.inventory[self.resource]>=amount:
|
||||
return False # we dont have enough balance
|
||||
|
||||
Reference in New Issue
Block a user