Skip to content

Commit 3c6fd20

Browse files
committed
use bitcoinlib 0.2.7
1 parent adb8483 commit 3c6fd20

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Elixir library simplifying calls to an Electrum RPC Server
77
```elixir
88
def deps do
99
[
10-
{:electrum_client, "~> 0.1.2"}
10+
{:electrum_client, "~> 0.1.3"}
1111
]
1212
end
1313
```

lib/address.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,12 @@ defmodule ElectrumClient.Address do
2222
end
2323

2424
defp address_to_public_key_hash(address) do
25+
IO.inspect(address, label: "about to destructure")
26+
2527
{:ok, public_key_hash, _format, _network} = Address.destructure(address)
2628

29+
IO.puts("will not show")
30+
2731
public_key_hash
2832
end
2933

mix.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule ElectrumClient.MixProject do
22
use Mix.Project
33

4-
@version "0.1.2"
4+
@version "0.1.3"
55

66
def project do
77
[
@@ -39,7 +39,7 @@ defmodule ElectrumClient.MixProject do
3939
{:ex_doc, "~> 0.28", only: :dev, runtime: false},
4040
{:dialyxir, "~> 1.2", only: [:dev], runtime: false},
4141
{:jason, "~> 1.4"},
42-
{:bitcoinlib, "~> 0.2.6"}
42+
{:bitcoinlib, "~> 0.2.7"}
4343
]
4444
end
4545
end

mix.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
%{
22
"binary": {:hex, :binary, "0.0.4", "dd077db70c0ded3e85c132b802338e14b80694684a7e2277666bfa4004b7fa66", [:mix], [], "hexpm", "a2faf5d5c22caec3efacf95370d8b050c003f48e03c221c37e0d1e2dd515b970"},
33
"bip0173": {:hex, :bip0173, "0.1.2", "b771e275692ed3353ecfecb38330693cbba90d2ac4a2e8fd1908a86ec7e6318f", [:mix], [], "hexpm", "6e12dfe7baacf9b4c422cae8f9cc6bbd791bf5ec3e9055fa3f418071b799b0db"},
4-
"bitcoinlib": {:hex, :bitcoinlib, "0.2.6", "fb72d536ba70c5485d8b24f5f9718528db89f6cd05dc7bbb891afc57a1ed211f", [:mix], [{:binary, "0.0.4", [hex: :binary, repo: "hexpm", optional: false]}, {:bip0173, "~> 0.1.2", [hex: :bip0173, repo: "hexpm", optional: false]}, {:curvy, "~> 0.3.0", [hex: :curvy, repo: "hexpm", optional: false]}, {:exbase58, "~> 1.0", [hex: :exbase58, repo: "hexpm", optional: false]}, {:pbkdf2_elixir, "~> 2.0", [hex: :pbkdf2_elixir, repo: "hexpm", optional: false]}], "hexpm", "6a9d2f1d1ffdfdf236ffafd3d205cbbb100df668879f1cceec38e0a6b11bd22a"},
4+
"bitcoinlib": {:hex, :bitcoinlib, "0.2.7", "b4ec9d63b06c38a0bc3890434c34176b061d292933d13e1ce6e07eab2d52a242", [:mix], [{:binary, "0.0.4", [hex: :binary, repo: "hexpm", optional: false]}, {:bip0173, "~> 0.1.2", [hex: :bip0173, repo: "hexpm", optional: false]}, {:curvy, "~> 0.3.0", [hex: :curvy, repo: "hexpm", optional: false]}, {:exbase58, "~> 1.0", [hex: :exbase58, repo: "hexpm", optional: false]}, {:pbkdf2_elixir, "~> 2.0", [hex: :pbkdf2_elixir, repo: "hexpm", optional: false]}], "hexpm", "98f56a80113900399bbcd0dbfad89cd45895ac69991e4be1550e4731df41de76"},
55
"comeonin": {:hex, :comeonin, "5.3.3", "2c564dac95a35650e9b6acfe6d2952083d8a08e4a89b93a481acb552b325892e", [:mix], [], "hexpm", "3e38c9c2cb080828116597ca8807bb482618a315bfafd98c90bc22a821cc84df"},
66
"curvy": {:hex, :curvy, "0.3.0", "cd097f77434baf783cd18a8374e1eae37dc203588902a3b59d1b4056ac9e7366", [:mix], [], "hexpm", "1fa6104cb458cfe6962b8353a0a6563bd191f9e72807fca0fa22b5a61809695c"},
77
"dialyxir": {:hex, :dialyxir, "1.2.0", "58344b3e87c2e7095304c81a9ae65cb68b613e28340690dfe1a5597fd08dec37", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "61072136427a851674cab81762be4dbeae7679f85b1272b6d25c3a839aff8463"},

0 commit comments

Comments
 (0)