Fix number of confirmations for transaction (#6552)
* 1 confirmation when tx is mined * Spelling mistake
This commit is contained in:
parent
9e0d2c15cd
commit
2b39c43e81
@ -72,8 +72,9 @@ export const trackRequest = (requestId, { transactionHash = null } = {}) => (dis
|
|||||||
const requestData = requests[requestId];
|
const requestData = requests[requestId];
|
||||||
let blockSubscriptionId = -1;
|
let blockSubscriptionId = -1;
|
||||||
|
|
||||||
// Set the block height to 0 at the beggining
|
// Set the block height to 1 at the beginning (transaction mined,
|
||||||
data.blockHeight = new BigNumber(0);
|
// thus one confirmation)
|
||||||
|
data.blockHeight = new BigNumber(1);
|
||||||
|
|
||||||
// If the request was a contract deployment,
|
// If the request was a contract deployment,
|
||||||
// then add the contract with the saved metadata to the account
|
// then add the contract with the saved metadata to the account
|
||||||
|
Loading…
Reference in New Issue
Block a user