fix possible bug in wallet initialization function
fix possible bug in wallet initialization function

blockstack/blockstack-browser,blockstack/blockstack-browser,blockstack/blockstack-portal,blockstack/blockstack-browser,blockstack/blockstack-portal,blockstack/blockstack-browser,blockstack/blockstack-browser,blockstack/blockstack-browser,blockstack/blockstack-portal,blockstack/blockstack-portal,blockstack/blockstack-portal