mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-30 15:39:23 +00:00
15 lines
311 B
Solidity
15 lines
311 B
Solidity
// SPDX-License-Identifier: AGPL-3.0-only
|
|
pragma solidity ^0.8.0;
|
|
|
|
import "../Schnorr.sol";
|
|
|
|
contract TestSchnorr {
|
|
function verify(
|
|
bytes32 public_key,
|
|
bytes calldata message,
|
|
bytes32 c,
|
|
bytes32 s
|
|
) external pure returns (bool) {
|
|
return Schnorr.verify(public_key, message, c, s);
|
|
}
|
|
}
|