public function deleteWallet($force = false) {
        if ($this->locked) {
            throw new \Exception("Wallet needs to be unlocked to delete wallet");
        }

        list($checksumAddress, $signature) = $this->createChecksumVerificationSignature();
        return $this->sdk->deleteWallet($this->identifier, $checksumAddress, $signature, $force)['deleted'];
    }
public function deleteWallet($force = false) {
        if ($this->locked) {
            throw new \Exception("Wallet needs to be unlocked to delete wallet");
        }

        list($checksumAddress, $signature) = $this->createChecksumVerificationSignature();
        return $this->sdk->deleteWallet($this->identifier, $checksumAddress, $signature, $force)['deleted'];
    }
public function deleteWallet ( $ force = false ) { if ( $ this -> locked ) { throw new \ Exception ( "Wallet needs to be unlocked to delete wallet" ) ; } list ( $ checksumAddress , $ signature ) = $ this -> createChecksumVerificationSignature ( ) ; return $ this -> sdk -> deleteWallet ( $ this -> identifier , $ checksumAddress , $ signature , $ force ) [ 'deleted' ] ; }
delete the wallet

@param bool $force ignore warnings (such as non-zero balance)
@return mixed
@throws \Exception
delete the wallet