File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
test/functional/test_framework Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 6
6
7
7
from decimal import Decimal
8
8
from enum import Enum
9
+ from typing import Optional
9
10
from test_framework .address import ADDRESS_BCRT1_P2WSH_OP_TRUE
10
11
from test_framework .key import ECKey
11
12
from test_framework .messages import (
@@ -105,12 +106,12 @@ def generate(self, num_blocks):
105
106
def get_address (self ):
106
107
return self ._address
107
108
108
- def get_utxo (self , * , txid = '' , mark_as_spent = True ):
109
+ def get_utxo (self , * , txid : Optional [ str ] = '' , mark_as_spent = True ):
109
110
"""
110
111
Returns a utxo and marks it as spent (pops it from the internal list)
111
112
112
113
Args:
113
- txid (string), optional : get the first utxo we find from a specific transaction
114
+ txid: get the first utxo we find from a specific transaction
114
115
115
116
Note: Can be used to get the change output immediately after a send_self_transfer
116
117
"""
You can’t perform that action at this time.
0 commit comments