We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d45ba3 commit 156a6d3Copy full SHA for 156a6d3
ape_safe/factory.py
@@ -69,7 +69,9 @@ def create(
69
if (payment_amount := self.conversion_manager.convert(payment_amount, int)) > 0 and (
70
payment_token == ZERO_ADDRESS or payment_receiver == ZERO_ADDRESS
71
):
72
- raise ValueError
+ raise ValueError(
73
+ "If sending payments, must include both `payment_token` and `payment_receiver`"
74
+ )
75
76
else: # Both are not empty
77
payment_token = self.conversion_manager.convert(payment_token, AddressType)
0 commit comments