mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
Reset mission control only on no routes found failure
This commit is contained in:
parent
7c050b560a
commit
1905d147bf
@ -132,8 +132,10 @@ def follow_send_payment(hash):
|
||||
}
|
||||
print(context)
|
||||
|
||||
# If failed, reset mission control. (This won't scale well, just a temporary fix)
|
||||
LNNode.resetmc()
|
||||
# If failed due to not route, reset mission control. (This won't scale well, just a temporary fix)
|
||||
if response.failure_reason==2:
|
||||
LNNode.resetmc()
|
||||
|
||||
return False, context
|
||||
|
||||
if response.status == 2: # Status 2 'SUCCEEDED'
|
||||
|
@ -241,7 +241,7 @@ class Chat extends Component {
|
||||
</Tooltip>
|
||||
}
|
||||
subheader={this.state.showPGP[props.index] ? <a> {props.message.time} <br/> {"Valid signature: " + props.message.validSignature} <br/> {props.message.encryptedMessage} </a> : props.message.plainTextMessage}
|
||||
subheaderTypographyProps={{sx: {wordWrap: "break-word", width: '215px', color: '#444444', fontSize: this.state.showPGP[props.index]? 11 : null }}}
|
||||
subheaderTypographyProps={{sx: {wordWrap: "break-word", width: '200px', color: '#444444', fontSize: this.state.showPGP[props.index]? 11 : null }}}
|
||||
/>
|
||||
</Card>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user