protocol: Sign for key halves when not swapping XMR

This commit is contained in:
tecnovert
2023-05-11 23:45:06 +02:00
parent 2b2b98505b
commit 9645e87961
4 changed files with 82 additions and 28 deletions

View File

@@ -24,6 +24,8 @@ from coincurve.dleag import (
verify_ed25519_point,
)
from basicswap.interface import (
Curves)
from basicswap.util import (
dumpj,
ensure,
@@ -38,6 +40,10 @@ from basicswap.chainparams import XMR_COIN, CoinInterface, Coins
class XMRInterface(CoinInterface):
@staticmethod
def curve_type():
return Curves.ed25519
@staticmethod
def coin_type():
return Coins.XMR