Skip to content

Commit

Permalink
fix: scarb fmt - bip340
Browse files Browse the repository at this point in the history
  • Loading branch information
egeaybars123 committed Oct 7, 2024
1 parent 3741501 commit dfeb6f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/math/src/schnorr.cairo
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
//! bip340 implementation
use core::byte_array::ByteArrayTrait;
use core::math::u256_mul_mod_n;
use core::option::OptionTrait;
use core::result::ResultTrait;
use core::sha256::compute_sha256_byte_array; //Available in Cairo ^2.7.0.
use core::starknet::SyscallResultTrait;
use core::to_byte_array::{AppendFormattedToByteArray, FormatAsByteArray};
use core::traits::Into;
use core::math::u256_mul_mod_n;

use starknet::{secp256k1::{Secp256k1Point}, secp256_trait::{Secp256Trait, Secp256PointTrait}};

Expand Down
2 changes: 1 addition & 1 deletion packages/math/src/tests/schnorr_test.cairo
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
use alexandria_math::schnorr::{sign, verify};
use core::byte_array::ByteArrayTrait;
use core::clone::Clone;
use core::option::OptionTrait;
use core::traits::Into;
use alexandria_math::schnorr::{sign, verify};

impl U256IntoByteArray of Into<u256, ByteArray> {
fn into(self: u256) -> ByteArray {
Expand Down

0 comments on commit dfeb6f0

Please sign in to comment.