mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 12:11:35 +00:00
Fix Rebase
This commit is contained in:
parent
4f2ec020a9
commit
0a33147a4f
@ -8,7 +8,11 @@ from django.utils import timezone
|
|||||||
|
|
||||||
from api.lightning.node import LNNode
|
from api.lightning.node import LNNode
|
||||||
from api.models import Currency, LNPayment, MarketTick, OnchainPayment, Order
|
from api.models import Currency, LNPayment, MarketTick, OnchainPayment, Order
|
||||||
from api.tasks import send_devfund_donation, send_status_notification, send_notification, nostr_send_order_event
|
from api.tasks import (
|
||||||
|
send_devfund_donation,
|
||||||
|
send_status_notification,
|
||||||
|
nostr_send_order_event,
|
||||||
|
)
|
||||||
from api.utils import get_minning_fee, validate_onchain_address, location_country
|
from api.utils import get_minning_fee, validate_onchain_address, location_country
|
||||||
from chat.models import Message
|
from chat.models import Message
|
||||||
|
|
||||||
@ -1365,7 +1369,7 @@ class Logics:
|
|||||||
order.update_status(Order.Status.WF2)
|
order.update_status(Order.Status.WF2)
|
||||||
|
|
||||||
nostr_send_order_event.delay(order_id=order.id)
|
nostr_send_order_event.delay(order_id=order.id)
|
||||||
|
|
||||||
order.log(
|
order.log(
|
||||||
f"<b>Contract formalized.</b> Maker: Robot({order.maker.robot.id},{order.maker}). Taker: Robot({order.taker.robot.id},{order.taker}). API median price {order.currency.exchange_rate} {dict(Currency.currency_choices)[order.currency.currency]}/BTC. Premium is {order.premium}%. Contract size {order.last_satoshis} Sats"
|
f"<b>Contract formalized.</b> Maker: Robot({order.maker.robot.id},{order.maker}). Taker: Robot({order.taker.robot.id},{order.taker}). API median price {order.currency.exchange_rate} {dict(Currency.currency_choices)[order.currency.currency]}/BTC. Premium is {order.premium}%. Contract size {order.last_satoshis} Sats"
|
||||||
)
|
)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
openapi: 3.0.3
|
openapi: 3.0.3
|
||||||
info:
|
info:
|
||||||
title: RoboSats REST API
|
title: RoboSats REST API
|
||||||
version: 0.6.3
|
version: 0.7.0
|
||||||
x-logo:
|
x-logo:
|
||||||
url: https://raw.githubusercontent.com/Reckless-Satoshi/robosats/main/frontend/static/assets/images/robosats-0.1.1-banner.png
|
url: https://raw.githubusercontent.com/Reckless-Satoshi/robosats/main/frontend/static/assets/images/robosats-0.1.1-banner.png
|
||||||
backgroundColor: '#FFFFFF'
|
backgroundColor: '#FFFFFF'
|
||||||
|
Loading…
Reference in New Issue
Block a user