From d2cb3f6c7e67c369f12361f31b1e6f43317e977a Mon Sep 17 00:00:00 2001 From: noumantahir Date: Tue, 26 Jul 2022 22:12:12 +0500 Subject: [PATCH] revert TODO comments --- src/screens/pinCode/container/pinCodeContainer.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/screens/pinCode/container/pinCodeContainer.js b/src/screens/pinCode/container/pinCodeContainer.js index 7726d8042..a0f1b4884 100644 --- a/src/screens/pinCode/container/pinCodeContainer.js +++ b/src/screens/pinCode/container/pinCodeContainer.js @@ -135,7 +135,7 @@ class PinCodeContainer extends Component { //this function updates realm with appropriate master key required for encyrption //this function is important: must run while chaning pin //and even logging in with existing pin code - //TODO: make sure this routine is not called + _updatePinCodeRealm = async (pinData) => { try { const { currentAccount, dispatch } = this.props; @@ -259,7 +259,6 @@ class PinCodeContainer extends Component { } = this.props; const { oldPinCode } = this.state; - //TOOD: make sure user is set with defualt pin here. const pinData = { pinCode: pin, password: currentAccount ? currentAccount.password : '', @@ -395,7 +394,6 @@ class PinCodeContainer extends Component { }); }); - //TODO: make sure pinCode is rather saved as different redux state, encryptedUnlockPin _savePinCode = (pin) => { const { dispatch } = this.props; const encryptedPin = encryptKey(pin, Config.PIN_KEY);