@@ -136,7 +136,9 @@ async def select_coins(self, amount) -> Optional[Set[Coin]]:
136136 self .wallet_info .id
137137 )
138138 ):
139- self .log .warning (f"Can't select amount higher than our spendable balance { amount } " )
139+ self .log .warning (
140+ f"Can't select amount higher than our spendable balance { amount } "
141+ )
140142 return None
141143
142144 self .log .info (f"About to select coins for amount { amount } " )
@@ -186,10 +188,12 @@ async def select_coins(self, amount) -> Optional[Set[Coin]]:
186188 return used_coins
187189 else :
188190 # This shouldn't happen because of: if amount > self.get_unconfirmed_balance_spendable():
189- self .log .error (f"Wasn't able to select coins for amount: { amount } "
190- f"unspent: { unspent } "
191- f"unconfirmed_removals: { unconfirmed_removals } "
192- f"unconfirmed_additions: { unconfirmed_additions } " )
191+ self .log .error (
192+ f"Wasn't able to select coins for amount: { amount } "
193+ f"unspent: { unspent } "
194+ f"unconfirmed_removals: { unconfirmed_removals } "
195+ f"unconfirmed_additions: { unconfirmed_additions } "
196+ )
193197 return None
194198
195199 async def generate_unsigned_transaction (
@@ -222,7 +226,9 @@ async def generate_unsigned_transaction(
222226 puzzle_hash = coin .puzzle_hash
223227 maybe = await self .get_keys (puzzle_hash )
224228 if not maybe :
225- self .log .error (f"Wallet couldn't find keys for puzzle_hash { puzzle_hash } " )
229+ self .log .error (
230+ f"Wallet couldn't find keys for puzzle_hash { puzzle_hash } "
231+ )
226232 return []
227233
228234 # Get puzzle for pubkey
@@ -263,7 +269,9 @@ async def sign_transaction(
263269 # Get keys
264270 keys = await self .get_keys (solution .coin .puzzle_hash )
265271 if not keys :
266- self .log .error (f"Sign transaction failed, No Keys for puzzlehash { solution .coin .puzzle_hash } " )
272+ self .log .error (
273+ f"Sign transaction failed, No Keys for puzzlehash { solution .coin .puzzle_hash } "
274+ )
267275 return None
268276
269277 pubkey , secretkey = keys
0 commit comments