Skip to content

Commit

Permalink
chore: Python lint fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrantuk committed Oct 17, 2024
1 parent 38dc8dd commit fd8165e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/src/vault.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, *, custom_pool_classes=None, custom_hook_classes=None):
self.hook_classes.update(custom_hook_classes)

def swap(self, swap_input, pool_state, *, hook_state=None):
if(swap_input["amount_raw"] == 0):
if swap_input["amount_raw"] == 0:
return 0

# buffer is handled separately than a "normal" pool
Expand Down

0 comments on commit fd8165e

Please sign in to comment.