Skip to content

Commit

Permalink
Fix missing argument
Browse files Browse the repository at this point in the history
Signed-off-by: alfred richardsn <rchrdsn@protonmail.ch>
  • Loading branch information
r4rdsn committed Nov 22, 2019
1 parent 5e1c30c commit 498b5de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/handlers/escrow.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,13 +682,15 @@ async def set_counter_send_address(
from_address = address
send_reply = False

transaction_time = time()
await get_escrow_instance(offer[offer.type]).check_transaction(
offer._id,
from_address,
offer["sum_fee_up"].to_decimal(),
offer[f"sum_{offer.type}"].to_decimal(),
offer[offer.type],
memo,
transaction_time,
)
keyboard = InlineKeyboardMarkup()
keyboard.add(
Expand Down Expand Up @@ -723,7 +725,7 @@ async def set_counter_send_address(
)
update = {
"counter.send_address": address,
"transaction_time": time(),
"transaction_time": transaction_time,
"memo": memo,
}
await offer.update_document(
Expand Down

0 comments on commit 498b5de

Please sign in to comment.