diff --git a/0.2-elliptic-curve-math.ipynb b/0.2-elliptic-curve-math.ipynb index 1963dc81d..4796a8cd9 100644 --- a/0.2-elliptic-curve-math.ipynb +++ b/0.2-elliptic-curve-math.ipynb @@ -187,10 +187,10 @@ "metadata": {}, "outputs": [], "source": [ - "a = random.randrange(SECP256K1_ORDER / 2, SECP256K1_ORDER)\n", + "a = random.randrange(SECP256K1_ORDER // 2, SECP256K1_ORDER)\n", "a_key = ECKey().set(a) \n", "\n", - "b = random.randrange(SECP256K1_ORDER / 2, SECP256K1_ORDER)\n", + "b = random.randrange(SECP256K1_ORDER // 2, SECP256K1_ORDER)\n", "b_key = ECKey().set(b) \n", "\n", "# Left: Compute a + b as ints (modulo the sepc256k1 group order)\n", diff --git a/README.md b/README.md index 9a56721cd..e5cf0f19d 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ $ git clone https://github.com/bitcoinops/taproot-workshop.git #### Build a taproot-supporting bitcoind -These workbooks require a `bitcoind` with version 0.21 or later which supports schnorr and taproot. +These workbooks require a `bitcoind` with version 23.0.0 or later which supports schnorr and taproot. ![workshop_repositories](images/repositories.jpg)