We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7b6514 commit afdb9b1Copy full SHA for afdb9b1
1 file changed
main.py
@@ -57,16 +57,16 @@ def tx_priority(size_bytes, fee_btc):
57
# TODO: Calculate fee rate and use if-elif-else to determine priority
58
59
60
-def is_mainnet(address_type):
61
- """Check if the address type is for Bitcoin mainnet.
+def is_mainnet(network):
+ """Check if the network is for Bitcoin mainnet.
62
63
Args:
64
- address_type: String like 'mainnet' or 'testnet'
+ network: String like 'mainnet', 'testnet', 'signet' or 'regtest'
65
66
Returns:
67
True if mainnet, False otherwise
68
"""
69
- # TODO: Convert address_type to lowercase and compare with "mainnet"
+ # TODO: Convert network to lowercase and compare with "mainnet"
70
71
72
def is_in_range(value):
0 commit comments