Skip to content

Commit 0c46e1a

Browse files
committed
Newsletter #40: replace ipython with REPL syntax
1 parent f635565 commit 0c46e1a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_posts/en/newsletters/2019-04-02-newsletter.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ Now we can simply attempt to decode each of these addresses
124124
(0, [110, 175, 166, 4, 165, 3, 160, 187, 68, 90, 209,
125125
246, 218, 168, 15, 22, 43, 86, 5, 214])
126126

127-
In [16]: segwit_addr.decode(HRP, typo_address)
128-
Out[16]: (None, None)
127+
>>> segwit_addr.decode(HRP, typo_address)
128+
(None, None)
129129

130-
In [17]: segwit_addr.decode(HRP, wrong_network_address)
131-
Out[17]: (None, None)
130+
>>> segwit_addr.decode(HRP, wrong_network_address)
131+
(None, None)
132132
```
133133

134134
If we get back a None for the first value (the witness version), the

0 commit comments

Comments
 (0)