@@ -469,8 +469,6 @@ async def respond_to_offer(self, file_path: Path) -> bool:
469469
470470 cs_aud = create_spend_for_auditor (auditor , auditor )
471471 coinsols .append (cs_aud )
472- colour_spend = SpendBundle ([cs , cs_eph , cs_aud ], aggsig )
473- wallet = wallets [colour ]
474472
475473 spend_bundle = SpendBundle (coinsols , aggsig )
476474 my_tx_records = []
@@ -528,9 +526,9 @@ async def respond_to_offer(self, file_path: Path) -> bool:
528526 incoming = False ,
529527 confirmed = False ,
530528 sent = uint32 (10 ),
531- spend_bundle = chia_spend_bundle ,
532- additions = chia_spend_bundle .additions (),
533- removals = chia_spend_bundle .removals (),
529+ spend_bundle = spend_bundle ,
530+ additions = spend_bundle .additions (),
531+ removals = spend_bundle .removals (),
534532 wallet_id = wallet .wallet_info .id ,
535533 sent_to = [],
536534 )
@@ -544,9 +542,9 @@ async def respond_to_offer(self, file_path: Path) -> bool:
544542 incoming = True ,
545543 confirmed = False ,
546544 sent = uint32 (10 ),
547- spend_bundle = chia_spend_bundle ,
548- additions = chia_spend_bundle .additions (),
549- removals = chia_spend_bundle .removals (),
545+ spend_bundle = spend_bundle ,
546+ additions = spend_bundle .additions (),
547+ removals = spend_bundle .removals (),
550548 wallet_id = wallet .wallet_info .id ,
551549 sent_to = [],
552550 )
0 commit comments