diff --git a/samples/samples/snippets.py b/samples/samples/snippets.py index feecd7707e..59f3176ef8 100644 --- a/samples/samples/snippets.py +++ b/samples/samples/snippets.py @@ -320,7 +320,7 @@ def update_albums(transaction): transfer_amount = 200000 - if second_album_budget < transfer_amount: + if second_album_budget < 300000: # Raising an exception will automatically roll back the # transaction. raise ValueError(