|
|
@ -358,7 +358,7 @@ class Jumblr extends React.Component { |
|
|
|
'error' |
|
|
|
) |
|
|
|
); |
|
|
|
} else if (json.result && json.result.result === 0) { |
|
|
|
} else if (json.result && (json.result.result === 0 || json.result.result === null)) { |
|
|
|
this.setState(Object.assign({}, this.state, { |
|
|
|
jumblrDepositAddress: { |
|
|
|
address: _genKeys.address, |
|
|
@ -367,9 +367,10 @@ class Jumblr extends React.Component { |
|
|
|
})); |
|
|
|
Store.dispatch( |
|
|
|
triggerToaster( |
|
|
|
translate('TOASTR.JUMBLR_DEPOSIT_ADDRESS_SET'), |
|
|
|
translate('TOASTR.JUMBLR_DEPOSIT_ADDRESS_SET') + ' to ' + _genKeys.address, |
|
|
|
'Jumblr', |
|
|
|
'success' |
|
|
|
'success', |
|
|
|
false |
|
|
|
) |
|
|
|
); |
|
|
|
} |
|
|
|