Commit 63145cd
committed
Merge #532: Favour parse over FromStr
c6c1e76 Favour parse over FromStr (Abeeujah)
Pull request description:
This PR drops the `FromStr` trait and update codepaths to use `parse` instead for constructing the concrete types `BlockHash`, `Txid` from strings.
closes #525
ACKs for top commit:
tcharding:
ACK c6c1e76
jamillambert:
ACK c6c1e76
Tree-SHA512: 4eb5df98a8a4c790aaa6ed3a9e719d682391b62287f914873e14f52b683a44bf032461607a8b6765b512e3f13b956091d10a6eb3ab2ce6c6efaf48300352dd2e1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
405 | 404 | | |
406 | 405 | | |
407 | 406 | | |
408 | | - | |
| 407 | + | |
409 | 408 | | |
410 | 409 | | |
411 | 410 | | |
412 | 411 | | |
413 | | - | |
| 412 | + | |
414 | 413 | | |
415 | | - | |
| 414 | + | |
416 | 415 | | |
417 | 416 | | |
418 | 417 | | |
| |||
430 | 429 | | |
431 | 430 | | |
432 | 431 | | |
433 | | - | |
| 432 | + | |
434 | 433 | | |
435 | 434 | | |
436 | 435 | | |
437 | 436 | | |
438 | | - | |
| 437 | + | |
439 | 438 | | |
440 | 439 | | |
441 | 440 | | |
| |||
0 commit comments