Skip to content

Commit

Permalink
Merge pull request #46 from CirclesUBI/fix-organisation-funding
Browse files Browse the repository at this point in the history
Fix organisation funding
  • Loading branch information
adzialocha authored May 25, 2021
2 parents 61870cc + 227b3bc commit bc76d03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions safe_relay_service/relay/services/funding_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def send_eth_to(self, to: str, value: int, gas: int = 22000, gas_price=None,

with EthereumNonceLock(self.redis, self.ethereum_client, self.funder_account.address,
lock_timeout=60 * 2) as tx_nonce:
logger.info('Fund safe=%s with %d', to, value)
return self.ethereum_client.send_eth_to(self.funder_account.key, to, gas_price, value,
gas=gas,
retry=retry,
Expand Down
2 changes: 1 addition & 1 deletion safe_relay_service/relay/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def circles_onboarding_organization_signup_task(safe_address: str) -> None:
FundingServiceProvider().send_eth_to(
safe_address,
payment - safe_balance,
gas=24000,
gas=30000,
retry=True
)
except LockError:
Expand Down

0 comments on commit bc76d03

Please sign in to comment.