Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Fix number of confirmations for transaction #6552

Merged
merged 3 commits into from
Sep 21, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions js/src/redux/providers/requestsActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,9 @@ export const trackRequest = (requestId, { transactionHash = null } = {}) => (dis
const requestData = requests[requestId];
let blockSubscriptionId = -1;

// Set the block height to 0 at the beggining
data.blockHeight = new BigNumber(0);
// Set the block height to 1 at the beginning (transaction mined,
// thus one confirmation)
data.blockHeight = new BigNumber(1);

// If the request was a contract deployment,
// then add the contract with the saved metadata to the account
Expand Down