From 40790470c2b92f8bc5460bc74b446ca4dc240491 Mon Sep 17 00:00:00 2001 From: Szymon Lesisz Date: Fri, 22 Feb 2019 17:42:07 +0100 Subject: [PATCH] ignore error code in showaddress method 403: permissions not granted from TrezorConnect can be safely ignored --- src/actions/ReceiveActions.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/actions/ReceiveActions.js b/src/actions/ReceiveActions.js index 116a5c15..0503fdf7 100644 --- a/src/actions/ReceiveActions.js +++ b/src/actions/ReceiveActions.js @@ -94,6 +94,10 @@ export const showAddress = (path: Array): AsyncAction => async (dispatch type: RECEIVE.HIDE_ADDRESS, }); + // special case: device no-backup permissions not granted + // $FlowIssue: remove this after trezor-connect@7.0.0 release + if (response.payload.code === 403) return; + dispatch({ type: NOTIFICATION.ADD, payload: {