Skip to content

Commit

Permalink
Merge pull request #1285 from decanus/patch-24
Browse files Browse the repository at this point in the history
Update 0_beacon-chain.md
  • Loading branch information
djrtwo authored Jul 10, 2019
2 parents d04d810 + 0eadf61 commit 57c0eee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/core/0_beacon-chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
- [`BeaconState`](#beaconstate)
- [Helper functions](#helper-functions)
- [Math](#math)
- [`int_to_bytes`](#int_to_bytes)
- [`integer_squareroot`](#integer_squareroot)
- [`xor`](#xor)
- [`int_to_bytes`](#int_to_bytes)
- [`bytes_to_int`](#bytes_to_int)
- [Crypto](#crypto)
- [`hash`](#hash)
Expand Down Expand Up @@ -540,8 +540,6 @@ class BeaconState(Container):

### Math

#### `int_to_bytes`

#### `integer_squareroot`

```python
Expand All @@ -567,6 +565,8 @@ def xor(bytes1: Bytes32, bytes2: Bytes32) -> Bytes32:
return Bytes32(a ^ b for a, b in zip(bytes1, bytes2))
```

#### `int_to_bytes`

```python
def int_to_bytes(n: uint64, length: uint64) -> bytes:
"""
Expand Down

0 comments on commit 57c0eee

Please sign in to comment.