|
|
|
@ -179,7 +179,7 @@ class Taker(object): |
|
|
|
#if destination is flagged "INTERNAL", choose a destination |
|
|
|
#if destination is flagged "INTERNAL", choose a destination |
|
|
|
#from the next mixdepth modulo the maxmixdepth |
|
|
|
#from the next mixdepth modulo the maxmixdepth |
|
|
|
if self.my_cj_addr == "INTERNAL": |
|
|
|
if self.my_cj_addr == "INTERNAL": |
|
|
|
next_mixdepth = (self.mixdepth + 1) % self.wallet.max_mix_depth |
|
|
|
next_mixdepth = (self.mixdepth + 1) % (self.wallet.max_mixdepth + 1) |
|
|
|
jlog.info("Choosing a destination from mixdepth: " + str(next_mixdepth)) |
|
|
|
jlog.info("Choosing a destination from mixdepth: " + str(next_mixdepth)) |
|
|
|
self.my_cj_addr = self.wallet.get_internal_addr(next_mixdepth) |
|
|
|
self.my_cj_addr = self.wallet.get_internal_addr(next_mixdepth) |
|
|
|
jlog.info("Chose destination address: " + self.my_cj_addr) |
|
|
|
jlog.info("Chose destination address: " + self.my_cj_addr) |
|
|
|
|