sms verification: less block confirmations
This commit is contained in:
parent
8ce362b224
commit
b1fcee73a5
@ -64,7 +64,7 @@ export default class SendConfirmation extends Component {
|
|||||||
if (step === 'posted') {
|
if (step === 'posted') {
|
||||||
return (
|
return (
|
||||||
<div className={ styles.centered }>
|
<div className={ styles.centered }>
|
||||||
<TxHash hash={ this.props.data.txHash } maxConfirmations={ 3 } />
|
<TxHash hash={ this.props.data.txHash } maxConfirmations={ 2 } />
|
||||||
<p>Please keep this window open.</p>
|
<p>Please keep this window open.</p>
|
||||||
</div>);
|
</div>);
|
||||||
}
|
}
|
||||||
@ -98,7 +98,7 @@ export default class SendConfirmation extends Component {
|
|||||||
.then((txHash) => {
|
.then((txHash) => {
|
||||||
onData({ txHash: txHash });
|
onData({ txHash: txHash });
|
||||||
this.setState({ step: 'posted' });
|
this.setState({ step: 'posted' });
|
||||||
return waitForConfirmations(api, txHash, 3);
|
return waitForConfirmations(api, txHash, 2);
|
||||||
})
|
})
|
||||||
.then(() => {
|
.then(() => {
|
||||||
onSuccess();
|
onSuccess();
|
||||||
|
@ -79,7 +79,7 @@ export default class SendRequest extends Component {
|
|||||||
if (step === 'posted') {
|
if (step === 'posted') {
|
||||||
return (
|
return (
|
||||||
<div className={ styles.centered }>
|
<div className={ styles.centered }>
|
||||||
<TxHash hash={ this.props.data.txHash } maxConfirmations={ 3 } />
|
<TxHash hash={ this.props.data.txHash } maxConfirmations={ 1 } />
|
||||||
<p>Please keep this window open.</p>
|
<p>Please keep this window open.</p>
|
||||||
</div>);
|
</div>);
|
||||||
}
|
}
|
||||||
@ -116,7 +116,7 @@ export default class SendRequest extends Component {
|
|||||||
.then((txHash) => {
|
.then((txHash) => {
|
||||||
onData({ txHash: txHash });
|
onData({ txHash: txHash });
|
||||||
this.setState({ step: 'posted' });
|
this.setState({ step: 'posted' });
|
||||||
return waitForConfirmations(api, txHash, 3);
|
return waitForConfirmations(api, txHash, 1);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user