Skip to content

Commit

Permalink
conform to some requirements of Elixir 1.2/ OTP 18
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Dobaczewski authored and yosriady committed Oct 1, 2017
1 parent 662f7a3 commit b63d102
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/merkle_tree/proof.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ defmodule MerkleTree.Proof do
Generate and verify merkle proofs
## Usage Example
iex(2)> proof = MerkleTree.new(~w/a b c d/) |>
...(2)> MerkleTree.Proof.prove(1)
iex> proof = MerkleTree.new(~w/a b c d/) |>
...> MerkleTree.Proof.prove(1)
%MerkleTree.Proof{hash_function: &MerkleTree.Crypto.sha256/1,
hashes: ["d3a0f1c792ccf7f1708d5422696263e35755a86917ea76ef9242bd4a8cf4891a",
"ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb"]}
Expand Down

0 comments on commit b63d102

Please sign in to comment.