public Wallet getWallet ( ) { if ( wallets . size ( ) != 1 ) { throw new UnsupportedOperationException ( wallets . size ( ) + " wallets in account" ) ; } return getWallet ( wallets . keySet ( ) . iterator ( ) . next ( ) ) ; }
Gets wallet for accounts which don t use multiple wallets with ids