feat: allow to add test public key

This commit is contained in:
Vlad Stan 2023-05-04 12:15:45 +03:00
parent 7554374236
commit f7dd15e775
6 changed files with 134 additions and 11 deletions

View file

@ -352,7 +352,7 @@ async def _handle_new_order(order: PartialOrder) -> Optional[str]:
return None
async def _handle_new_customer(event, merchant):
async def _handle_new_customer(event, merchant: Merchant):
await create_customer(
merchant.id, Customer(merchant_id=merchant.id, public_key=event.pubkey)
)