Skip to content

Commit

Permalink
Merge pull request #3 from omahs/patch-1
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
artemskriabin authored Apr 12, 2024
2 parents 0e428da + e1fefcb commit 930ef22
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Ethereum-Bitcoin exchange between Alice and Bob.

## How to try it out?
You can use either testnets for Ethereum and Bitcoin networks or run the local test networks by
using such utilits as [`ganache`](https://trufflesuite.com/ganache/) for Ehtereum and
using such utilities as [`ganache`](https://trufflesuite.com/ganache/) for Ethereum and
[`nigiri`](https://nigiri.vulpem.com/) for Bitcoin.

You can use this deployed, verified and ready for use contracts:
Expand Down Expand Up @@ -124,7 +124,7 @@ can find it in the readme section, for ZK proof generation.
Before compiling make sure, that you have the OpenMP installed on your device. It is required
dependency to build the `rapidsnark-sys` crate.
```bash
sudo apt update sudo apt upgrate
sudo apt update sudo apt upgrade
sudo apt install libomp-dev
```

Expand Down
4 changes: 2 additions & 2 deletions scripts/trusted-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ if [ -d ./circuits ]; then
elif [ -d ../circuits ]; then
BUILD_DIR="../$BUILD_DIR"
else
echo "Error: can't find way to circuits folder: unknow directory."
echo "Error: can't find way to circuits folder: unknown directory."
exit 1
fi

mkdir -p $BUILD_DIR/$SETUP_POWERS

# Generatin trusted setup as powers/SETUP_POWERS.ptau
# Generating trusted setup as powers/SETUP_POWERS.ptau
echo -e "\Generating trustep setup..."

snarkjs powersoftau new bn128 ${SETUP_POWERS} ${BUILD_DIR}/${SETUP_POWERS}/pot${SETUP_POWERS}_0000.ptau
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ pub struct SwapParticipant {
/// Posidon hash of the swap secret.
///
/// It is [`Some`] only after either [`Self::new_atomic_swap`] for swap initiator or
/// [`Self::accept_atomic_swap`] for swap counteraprty.
/// [`Self::accept_atomic_swap`] for swap counterparty.
swap_secret_hash: Option<[u8; 32]>,

/// Counterparty's Bitcoin public key that is used as a revocation key in Taprootized
Expand Down

0 comments on commit 930ef22

Please sign in to comment.