Skip to content

Commit

Permalink
Fix ApprovalRequest json
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeny-stakewise committed Sep 15, 2023
1 parent 787ab88 commit 8de6585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validators/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

async def send_approval_requests(oracles: Oracles, request: ApprovalRequest) -> tuple[bytes, str]:
"""Requests approval from all oracles."""
payload = dataclasses.asdict(request)
payload = request.as_json_dict()
endpoints = list(zip(oracles.addresses, oracles.endpoints))

ipfs_hashes = []
Expand Down

0 comments on commit 8de6585

Please sign in to comment.