Skip to content

Commit 930ef22

Browse files
Merge pull request #3 from omahs/patch-1
Fix typos
2 parents 0e428da + e1fefcb commit 930ef22

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ Ethereum-Bitcoin exchange between Alice and Bob.
9696

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

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

scripts/trusted-setup.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ if [ -d ./circuits ]; then
1010
elif [ -d ../circuits ]; then
1111
BUILD_DIR="../$BUILD_DIR"
1212
else
13-
echo "Error: can't find way to circuits folder: unknow directory."
13+
echo "Error: can't find way to circuits folder: unknown directory."
1414
exit 1
1515
fi
1616

1717
mkdir -p $BUILD_DIR/$SETUP_POWERS
1818

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

2222
snarkjs powersoftau new bn128 ${SETUP_POWERS} ${BUILD_DIR}/${SETUP_POWERS}/pot${SETUP_POWERS}_0000.ptau

src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub struct SwapParticipant {
8989
/// Posidon hash of the swap secret.
9090
///
9191
/// It is [`Some`] only after either [`Self::new_atomic_swap`] for swap initiator or
92-
/// [`Self::accept_atomic_swap`] for swap counteraprty.
92+
/// [`Self::accept_atomic_swap`] for swap counterparty.
9393
swap_secret_hash: Option<[u8; 32]>,
9494

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

0 commit comments

Comments
 (0)