Skip to content

Commit 6e2dab7

Browse files
committed
fix vote_offer_btc_teleport
1 parent 862e9cc commit 6e2dab7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/btc_teleport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ def vote_offer_btc_teleport(self, args):
173173
current_offers = self.get_offers()
174174
if offer_hash not in current_offers:
175175
self.local.add_log("Offer not found, skip", "warning")
176-
return
176+
continue
177177
offer = current_offers[offer_hash]
178178
if validator_index in offer.get("votedValidators"):
179179
self.local.add_log("Proposal already has been voted", "debug")
180-
return
180+
continue
181181
self.add_save_offer(offer)
182182
request_hash = self.ton.CreateConfigProposalRequest(offer_hash, validator_index)
183183
validator_signature = self.ton.GetValidatorSignature(validator_key, request_hash)

0 commit comments

Comments
 (0)