We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03177b6 commit cb7bb3fCopy full SHA for cb7bb3f
1 file changed
app/grants/views.py
@@ -2618,10 +2618,10 @@ def contribute_to_grants_v1(request):
2618
})
2619
continue
2620
2621
- contributor_address = contribution.get('contributor_address', None)
2622
- tx_id = contribution.get('tx_id', None)
+ contributor_address = contribution.get('contributor_address', '0x0')
+ tx_id = contribution.get('tx_id', '0x0')
2623
2624
- if not contributor_address and not tx_id:
+ if contributor_address == '0x0' and tx_id == '0x0':
2625
invalid_contributions.append({
2626
'grant_id': grant_id,
2627
'message': 'error: either contributor_address or tx_id must be supplied'
0 commit comments