Commit 17578d7
committed
add Address::is_liquid
User code can already compare against AddressParams, but it seems more
easy to find a method to check if the address is liquid.
Even thoug is less general because you can't discriminate between
elements and liquid testnet, most of the time wallets are interested
only in the mainnet or not discrimination.1 parent 85604b0 commit 17578d7
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
226 | 231 | | |
227 | 232 | | |
228 | 233 | | |
| |||
0 commit comments