diff options
Diffstat (limited to 'src/operations')
-rw-r--r-- | src/operations/recoup.ts | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/operations/recoup.ts b/src/operations/recoup.ts index 163f77591..3c3d0f453 100644 --- a/src/operations/recoup.ts +++ b/src/operations/recoup.ts @@ -153,16 +153,6 @@ async function recoupWithdrawCoin( return; } - const isValid = ws.cryptoApi.isValidRecoupConfirmation( - coin.coinPub, - recoupConfirmation, - exchangeDetails.signingKeys, - ); - - if (!isValid) { - throw Error("invalid recoup confirmation signature"); - } - // FIXME: verify that our expectations about the amount match await ws.db.runWithWriteTransaction( @@ -237,16 +227,6 @@ async function recoupRefreshCoin( return; } - const isValid = ws.cryptoApi.isValidRecoupConfirmation( - coin.coinPub, - recoupConfirmation, - exchangeDetails.signingKeys, - ); - - if (!isValid) { - throw Error("invalid recoup confirmation signature"); - } - const refreshGroupId = await ws.db.runWithWriteTransaction( [Stores.coins, Stores.reserves], async tx => { |