(address)
| 150 | |
| 151 | |
| 152 | def resendPubkeyRequest(address): |
| 153 | logger.debug('It has been a long time and we haven\'t heard a response to our getpubkey request. Sending again.') |
| 154 | try: |
| 155 | del state.neededPubkeys[ |
| 156 | address] # We need to take this entry out of the neededPubkeys structure because the queues.workerQueue checks to see whether the entry is already present and will not do the POW and send the message because it assumes that it has already done it recently. |
| 157 | except: |
| 158 | pass |
| 159 | |
| 160 | queues.UISignalQueue.put(( |
| 161 | 'updateStatusBar', 'Doing work necessary to again attempt to request a public key...')) |
| 162 | sqlExecute( |
| 163 | '''UPDATE sent SET status='msgqueued' WHERE toaddress=?''', |
| 164 | address) |
| 165 | queues.workerQueue.put(('sendmessage', '')) |
| 166 | |
| 167 | def resendMsg(ackdata): |
| 168 | logger.debug('It has been a long time and we haven\'t heard an acknowledgement to our msg. Sending again.') |
no test coverage detected